Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 116.8 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 212.9 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.88 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1214, allocations: 53.32 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004363/0.1257, allocations: 2.394 MB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1274, allocations: 0.7478 MB / 430.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1276, allocations: 4 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1278, allocations: 31.66 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1279, allocations: 67.42 kB / 430.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.1283, allocations: 99.75 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.1287, allocations: 263 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.129, allocations: 83.03 kB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1293, allocations: 127.6 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1295, allocations: 111.6 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.1296, allocations: 24 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.1297, allocations: 27.98 kB / 431.1 MB, free: 492 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.1297, allocations: 51.84 kB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1299, allocations: 119.4 kB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.1303, allocations: 294.7 kB / 431.6 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1303, allocations: 0 / 431.6 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1303, allocations: 0 / 431.6 MB, free: 24 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1303, allocations: 0 / 431.6 MB, free: 24 kB / 350.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.2409/0.3712, allocations: 0.6696 MB / 432.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3712, allocations: 9.281 kB / 432.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.3715, allocations: 39.91 kB / 432.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3719, allocations: 247.3 kB / 432.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/0.372, allocations: 55.5 kB / 432.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.372, allocations: 15.94 kB / 432.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.3727, allocations: 258.7 kB / 432.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3727, allocations: 4.781 kB / 432.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.3727, allocations: 10.97 kB / 432.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3727, allocations: 6.344 kB / 432.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.3733, allocations: 201.5 kB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3746, allocations: 0.7533 MB / 433.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.3751, allocations: 266 kB / 434.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.3755, allocations: 187.8 kB / 434.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3756, allocations: 6.875 kB / 434.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005208/0.3761, allocations: 315 kB / 434.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.3761, allocations: 0 / 434.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001302/0.3774, allocations: 0.5826 MB / 435.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.3775, allocations: 201.9 kB / 435.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3777, allocations: 184.6 kB / 435.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3777, allocations: 38.83 kB / 435.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.3778, allocations: 132.6 kB / 435.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.3779, allocations: 86.48 kB / 435.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.378, allocations: 65.94 kB / 435.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.3781, allocations: 338.1 kB / 436.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.3783, allocations: 110.2 kB / 436.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.3786, allocations: 170.3 kB / 436.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.3791, allocations: 404.9 kB / 436.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3791, allocations: 1.062 kB / 436.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00074/0.3798, allocations: 448.6 kB / 437.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.3799, allocations: 100.4 kB / 437.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3799, allocations: 1.125 kB / 437.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.3799, allocations: 7.469 kB / 437.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3801, allocations: 36.23 kB / 437.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.3801, allocations: 3.734 kB / 437.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3803, allocations: 44.23 kB / 437.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3804, allocations: 13.02 kB / 437.5 MB, free: 8.957 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.0002437/0.3806, allocations: 244.5 kB / 437.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.3807, allocations: 26.61 kB / 437.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.3807, allocations: 24.22 kB / 437.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3807, allocations: 5.219 kB / 437.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3807, allocations: 4.484 kB / 437.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3807, allocations: 1.547 kB / 437.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.3823, allocations: 0.9305 MB / 438.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3823, allocations: 8.953 kB / 438.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3824, allocations: 20.98 kB / 438.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3824, allocations: 0.9062 kB / 438.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.3824, allocations: 18.41 kB / 438.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3824, allocations: 1.859 kB / 438.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3824, allocations: 0 / 438.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3834, allocations: 0.6185 MB / 439.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.3835, allocations: 104.3 kB / 439.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.3836, allocations: 19.88 kB / 439.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.3838, allocations: 22.3 kB / 439.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/0.3839, allocations: 24.62 kB / 439.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3839, allocations: 9.328 kB / 439.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.384, allocations: 133 kB / 439.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.384, allocations: 4 kB / 439.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.3845, allocations: 75.16 kB / 439.8 MB, free: 7.586 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.0001827/0.3847, allocations: 134.7 kB / 439.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009211/0.3856, allocations: 0.516 MB / 440.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3856, allocations: 1.344 kB / 440.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.3861, allocations: 315.6 kB / 440.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.3869, allocations: 149.7 kB / 440.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.388, allocations: 0.5284 MB / 441.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3882, allocations: 0.751 MB / 442.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.3885, allocations: 47.91 kB / 442.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.709e-05/0.3885, allocations: 21.75 kB / 442.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3885, allocations: 0.625 kB / 442.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of Templates: time 0.01137/0.3999, allocations: 4.306 MB / 446.5 MB, free: 5.711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.970839424058795]