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.0008634/0.0008634, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004388/0.004388, allocations: 142.8 kB / 24.68 MB, free: 9.414 MB / 18.57 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 0.8336/0.8336, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 2.414e-06/2.414e-06, allocations: 3.938 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.822e-05, allocations: 10.16 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002495/0.002523, allocations: 2.251 MB / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.003371, allocations: 0.631 MB / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.003473, allocations: 7.938 kB / 322.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.00359, allocations: 31.72 kB / 322.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.003667, allocations: 63.42 kB / 322.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.003946, allocations: 99.61 kB / 322.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.004175, allocations: 263 kB / 323 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.004353, allocations: 75.64 kB / 323.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.004559, allocations: 167.6 kB / 323.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004663, allocations: 91.77 kB / 323.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.004695, allocations: 20 kB / 323.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.484e-05/0.004719, allocations: 24 kB / 323.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.004767, allocations: 55.77 kB / 323.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.004845, allocations: 87.81 kB / 323.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.005094, allocations: 291.1 kB / 323.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005096, allocations: 0 / 323.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.005098, allocations: 4 kB / 323.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.005102, allocations: 0 / 323.8 MB, free: 1.684 MB / 282.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.0006584/0.00576, allocations: 0.5994 MB / 324.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.005789, allocations: 8.922 kB / 324.4 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.00584, allocations: 28.8 kB / 324.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.006046, allocations: 186 kB / 324.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.006106, allocations: 79.95 kB / 324.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.006131, allocations: 20.38 kB / 324.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.006499, allocations: 357.9 kB / 325.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.006507, allocations: 192 / 325.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.006525, allocations: 16.06 kB / 325.1 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.00653, allocations: 4 kB / 325.1 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.006805, allocations: 271.8 kB / 325.4 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.007519, allocations: 0.6241 MB / 326 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.007858, allocations: 333.8 kB / 326.3 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.008105, allocations: 260.3 kB / 326.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.008117, allocations: 4 kB / 326.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.008437, allocations: 413.4 kB / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 8.91e-07/0.008438, allocations: 0 / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006778/0.009116, allocations: 0.7378 MB / 327.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.009187, allocations: 203.9 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.009296, allocations: 186.2 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.009317, allocations: 37.7 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.00938, allocations: 136.8 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.009421, allocations: 79.38 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.00949, allocations: 70.02 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.009569, allocations: 334.8 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.009731, allocations: 205.7 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.009913, allocations: 285.9 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.01022, allocations: 428.4 kB / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01022, allocations: 0 / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004077/0.01063, allocations: 0.5306 MB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.01067, allocations: 93.08 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01068, allocations: 4.094 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.01069, allocations: 8 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.01078, allocations: 35.92 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.01079, allocations: 4 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.01087, allocations: 43.7 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01089, allocations: 12 kB / 330.4 MB, free: 10.58 MB / 298.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.0001365/0.01102, allocations: 244.5 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.01105, allocations: 19.91 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.01107, allocations: 26.64 kB / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01108, allocations: 0 / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01108, allocations: 0 / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01108, allocations: 7.938 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.01184, allocations: 0.8958 MB / 331.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01184, allocations: 0 / 331.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.01189, allocations: 23.92 kB / 331.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01189, allocations: 4 kB / 331.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01191, allocations: 11.98 kB / 331.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01191, allocations: 7.938 kB / 331.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01191, allocations: 0 / 331.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.01242, allocations: 0.6834 MB / 332.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.01245, allocations: 23.73 kB / 332.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.01248, allocations: 19.98 kB / 332.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.01258, allocations: 19.98 kB / 332.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01263, allocations: 19.97 kB / 332.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.01265, allocations: 19.98 kB / 332.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.01271, allocations: 127.2 kB / 332.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01271, allocations: 192 / 332.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.01292, allocations: 79.89 kB / 332.6 MB, free: 8.23 MB / 298.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 9.442e-05/0.01301, allocations: 129.2 kB / 332.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.01351, allocations: 0.6546 MB / 333.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01351, allocations: 4 kB / 333.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.01376, allocations: 366 kB / 333.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.01413, allocations: 152.7 kB / 333.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.01473, allocations: 0.595 MB / 334.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.01481, allocations: 138 kB / 334.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.01486, allocations: 28.48 kB / 334.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01486, allocations: 0 / 334.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of Templates: time 0.003026/0.01789, allocations: 3.168 MB / 337.8 MB, free: 2.871 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 3.977489670738578]