Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.147/2.147, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004306/0.3681, allocations: 2.284 MB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3697, allocations: 0.6933 MB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3698, allocations: 4 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.37, allocations: 35.66 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3702, allocations: 59.48 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3706, allocations: 103.8 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.371, allocations: 263 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.3713, allocations: 83.3 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.3716, allocations: 131.5 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3718, allocations: 111.6 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.3719, allocations: 24 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.372, allocations: 24 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.3721, allocations: 59.77 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3722, allocations: 95.58 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.3727, allocations: 294.5 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3727, allocations: 0 / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3727, allocations: 0 / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3727, allocations: 0 / 436.6 MB, free: 2.484 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.001321/0.374, allocations: 0.6001 MB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3741, allocations: 8.031 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.3743, allocations: 36.75 kB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.3748, allocations: 186.2 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3749, allocations: 83.69 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.3749, allocations: 20.38 kB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.3757, allocations: 361.3 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3758, allocations: 0 / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3758, allocations: 4 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3758, allocations: 4 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.3766, allocations: 275.7 kB / 438.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3782, allocations: 0.643 MB / 438.8 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/0.379, allocations: 326.6 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/0.3795, allocations: 268.2 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3796, allocations: 0 / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007483/0.3803, allocations: 413.4 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.3803, allocations: 0 / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001766/0.3821, allocations: 0.7352 MB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.3823, allocations: 199.9 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3825, allocations: 182.4 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.3825, allocations: 45.69 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3827, allocations: 132.8 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.791e-05/0.3828, allocations: 83.38 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3829, allocations: 70.02 kB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3831, allocations: 338.8 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.3834, allocations: 197.7 kB / 441.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.3839, allocations: 293.8 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.3847, allocations: 424.3 kB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3847, allocations: 0 / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001048/0.3857, allocations: 0.5385 MB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.3859, allocations: 99.91 kB / 443.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3859, allocations: 0 / 443.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.3859, allocations: 11.92 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3862, allocations: 35.92 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3862, allocations: 4 kB / 443.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.3864, allocations: 31.83 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3865, allocations: 16 kB / 443.2 MB, free: 11.36 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.0002971/0.3868, allocations: 239.7 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.3868, allocations: 23.86 kB / 443.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.3869, allocations: 26.64 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3869, allocations: 7.938 kB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3869, allocations: 0 / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3869, allocations: 0 / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.3888, allocations: 0.8958 MB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3888, allocations: 4 kB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3889, allocations: 23.98 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.3889, allocations: 7.922 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.3889, allocations: 7.984 kB / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3889, allocations: 4 kB / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.389, allocations: 4.031 kB / 444.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3903, allocations: 0.6837 MB / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.3903, allocations: 23.84 kB / 445.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.3904, allocations: 15.98 kB / 445.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.3907, allocations: 27.98 kB / 445.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3908, allocations: 23.92 kB / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.3908, allocations: 11.98 kB / 445.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.391, allocations: 132.3 kB / 445.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 445.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.3915, allocations: 71.94 kB / 445.4 MB, free: 9.004 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.000195/0.3917, allocations: 133.2 kB / 445.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3929, allocations: 0.6653 MB / 446.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3929, allocations: 192 / 446.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.3935, allocations: 370.3 kB / 446.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.3944, allocations: 138.9 kB / 446.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3957, allocations: 0.6017 MB / 447.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.3959, allocations: 141.6 kB / 447.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.396, allocations: 49.89 kB / 447.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.3961, allocations: 23.42 kB / 447.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3961, allocations: 4 kB / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of Templates: time 0.02476/0.4209, allocations: 4.745 MB / 452.2 MB, free: 2.098 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.317626844000188]