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.0009039/0.0009039, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001071/0.001071, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.8739/0.8739, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 273.5 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.908e-05, allocations: 6.312 kB / 273.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003714/0.003733, allocations: 2.37 MB / 275.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.005227, allocations: 0.7348 MB / 276.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.005346, allocations: 8.688 kB / 276.6 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.005506, allocations: 27.72 kB / 276.6 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.005636, allocations: 57.12 kB / 276.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.006054, allocations: 114.1 kB / 276.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.006386, allocations: 266.9 kB / 277 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.006577, allocations: 82.27 kB / 277.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.006905, allocations: 183.5 kB / 277.3 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.007071, allocations: 87.77 kB / 277.4 MB, free: 496 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.007115, allocations: 22.03 kB / 277.4 MB, free: 476 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.007178, allocations: 24 kB / 277.4 MB, free: 452 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.00724, allocations: 55.77 kB / 277.5 MB, free: 396 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.007345, allocations: 87.81 kB / 277.6 MB, free: 308 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.007639, allocations: 211.3 kB / 277.8 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007641, allocations: 0.6562 kB / 277.8 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.007642, allocations: 0 / 277.8 MB, free: 96 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.007646, allocations: 4 kB / 277.8 MB, free: 92 kB / 250.7 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.0008088/0.008455, allocations: 0.5675 MB / 278.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.008487, allocations: 8.031 kB / 278.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.008658, allocations: 44.91 kB / 278.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.008895, allocations: 166.2 kB / 278.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.008977, allocations: 83.91 kB / 278.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.009014, allocations: 20.36 kB / 278.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.009423, allocations: 282.9 kB / 278.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.009434, allocations: 192 / 278.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.009459, allocations: 8.125 kB / 278.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.009468, allocations: 4 kB / 279 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.009659, allocations: 136.8 kB / 279.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.01066, allocations: 0.5103 MB / 279.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.01095, allocations: 196.9 kB / 279.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.01116, allocations: 158.5 kB / 279.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.01118, allocations: 4 kB / 279.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.01151, allocations: 333.5 kB / 280.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.01151, allocations: 0 / 280.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005066/0.01202, allocations: 435.6 kB / 280.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.01211, allocations: 195.9 kB / 280.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.01225, allocations: 187.8 kB / 281.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.01228, allocations: 37.7 kB / 281.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.01235, allocations: 120.9 kB / 281.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.01242, allocations: 83.3 kB / 281.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.01252, allocations: 69.97 kB / 281.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01263, allocations: 342.7 kB / 281.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.01299, allocations: 117.8 kB / 281.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.01314, allocations: 221.8 kB / 282 MB, free: 11.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.01339, allocations: 291.5 kB / 282.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0134, allocations: 0 / 282.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000354/0.01375, allocations: 351.6 kB / 282.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.01382, allocations: 97.08 kB / 282.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.01382, allocations: 4 kB / 282.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01384, allocations: 4 kB / 282.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.01402, allocations: 39.92 kB / 282.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.01403, allocations: 0 / 282.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.01417, allocations: 43.92 kB / 282.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.01419, allocations: 8 kB / 282.9 MB, free: 10.47 MB / 266.7 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.0001799/0.01437, allocations: 226.5 kB / 283.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.01443, allocations: 31.91 kB / 283.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.01447, allocations: 26.64 kB / 283.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01448, allocations: 0 / 283.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01448, allocations: 4 kB / 283.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01448, allocations: 4 kB / 283.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.01518, allocations: 0.5838 MB / 283.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01518, allocations: 0 / 283.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.01528, allocations: 23.92 kB / 283.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01528, allocations: 0 / 283.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.0153, allocations: 11.98 kB / 283.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01531, allocations: 0 / 283.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.01531, allocations: 4 kB / 283.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.01573, allocations: 447 kB / 284.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.01576, allocations: 23.8 kB / 284.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.01581, allocations: 15.98 kB / 284.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.01599, allocations: 19.92 kB / 284.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.01605, allocations: 19.97 kB / 284.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.01608, allocations: 11.98 kB / 284.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.325e-05/0.01613, allocations: 41.88 kB / 284.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01613, allocations: 0 / 284.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.01647, allocations: 83.89 kB / 284.4 MB, free: 8.789 MB / 266.7 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.0001387/0.01661, allocations: 106.4 kB / 284.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.01707, allocations: 498.2 kB / 285 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01708, allocations: 0 / 285 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.01733, allocations: 299.9 kB / 285.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.01787, allocations: 152.8 kB / 285.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.01893, allocations: 0.535 MB / 286 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.01899, allocations: 84.77 kB / 286.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.0191, allocations: 25.92 kB / 286.1 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.0194, allocations: 139.3 kB / 286.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0194, allocations: 0 / 286.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of Templates: time 0.007699/0.0271, allocations: 4.741 MB / 291 MB, free: 2.18 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.596816095057875]