Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 120.5 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 190.7 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 51.91 kB / 358.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08957, allocations: 49.44 MB / 408.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003556/0.09316, allocations: 2.353 MB / 410.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.09433, allocations: 0.6738 MB / 411.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.09444, allocations: 3.938 kB / 411.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.09459, allocations: 31.72 kB / 411.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.09472, allocations: 51.48 kB / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.09504, allocations: 91.77 kB / 411.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.09538, allocations: 271 kB / 411.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.09563, allocations: 115 kB / 411.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.09583, allocations: 115.6 kB / 411.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.09607, allocations: 115.6 kB / 411.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.09612, allocations: 20 kB / 411.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.09618, allocations: 24 kB / 411.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.09626, allocations: 55.78 kB / 412 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.09641, allocations: 119.4 kB / 412.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.09675, allocations: 270.9 kB / 412.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09676, allocations: 0 / 412.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09677, allocations: 3.938 kB / 412.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.09678, allocations: 0 / 412.4 MB, free: 2.555 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001073/0.09786, allocations: 0.687 MB / 413.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.0979, allocations: 12.03 kB / 413.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.09798, allocations: 24.8 kB / 413.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.09835, allocations: 237.5 kB / 413.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.0985, allocations: 50.27 kB / 413.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.09854, allocations: 20.36 kB / 413.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.09913, allocations: 256.3 kB / 413.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.09915, allocations: 0 / 413.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.09918, allocations: 4 kB / 413.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.0992, allocations: 4 kB / 413.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.09975, allocations: 212.2 kB / 413.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1011, allocations: 0.764 MB / 414.6 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.1019, allocations: 304.8 kB / 414.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.1024, allocations: 223.2 kB / 415.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1024, allocations: 4 kB / 415.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.103, allocations: 324.8 kB / 415.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.103, allocations: 0 / 415.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001264/0.1042, allocations: 0.5749 MB / 416.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.1044, allocations: 199.9 kB / 416.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1046, allocations: 179.9 kB / 416.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.1046, allocations: 37.7 kB / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1047, allocations: 132.9 kB / 416.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.1048, allocations: 95.3 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1049, allocations: 62.03 kB / 416.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1051, allocations: 334.8 kB / 417.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1054, allocations: 108.6 kB / 417.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.1057, allocations: 175.2 kB / 417.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.1064, allocations: 415.5 kB / 417.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1064, allocations: 4 kB / 417.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007754/0.1072, allocations: 444.3 kB / 418.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/0.1072, allocations: 97.09 kB / 418.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1073, allocations: 7.922 kB / 418.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1073, allocations: 4 kB / 418.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1075, allocations: 35.92 kB / 418.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1075, allocations: 3.938 kB / 418.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1077, allocations: 31.88 kB / 418.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.1077, allocations: 12 kB / 418.4 MB, free: 12.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.108, allocations: 247.7 kB / 418.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.1081, allocations: 27.8 kB / 418.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.1081, allocations: 30.58 kB / 418.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1081, allocations: 4 kB / 418.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1082, allocations: 0 / 418.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1082, allocations: 0 / 418.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1097, allocations: 0.9357 MB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1097, allocations: 0 / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1098, allocations: 23.92 kB / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1099, allocations: 8.031 kB / 419.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1099, allocations: 8.188 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.1099, allocations: 3.984 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1099, allocations: 7.938 kB / 419.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.1109, allocations: 0.6129 MB / 420.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.111, allocations: 100.9 kB / 420.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.1111, allocations: 15.98 kB / 420.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1113, allocations: 19.98 kB / 420.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.1114, allocations: 23.97 kB / 420.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.1114, allocations: 15.98 kB / 420.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1115, allocations: 135.1 kB / 420.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1116, allocations: 0 / 420.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1119, allocations: 68 kB / 420.7 MB, free: 9.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.1121, allocations: 133 kB / 420.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009177/0.113, allocations: 0.5432 MB / 421.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.113, allocations: 0 / 421.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.1136, allocations: 402.6 kB / 421.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.1143, allocations: 163.4 kB / 421.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1154, allocations: 0.5496 MB / 422.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1159, allocations: 0.7406 MB / 423.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.1159, allocations: 27.44 kB / 423.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.116, allocations: 0 / 423.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of Templates: time 0.005497/0.1215, allocations: 3.12 MB / 426.3 MB, free: 3.945 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0717687249416485]