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.001856/0.001856, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001968/0.001968, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.673e-06/1.673e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.724e-05, allocations: 6.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.006407/0.006435, allocations: 2.36 MB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.008708, allocations: 0.7205 MB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.008884, allocations: 4 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.009112, allocations: 31.66 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.009332, allocations: 63.42 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.009902, allocations: 99.69 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.01049, allocations: 274.9 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.01077, allocations: 79.64 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.01128, allocations: 171.6 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.01157, allocations: 87.77 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.01165, allocations: 24 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.01177, allocations: 27.98 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.01187, allocations: 59.77 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.01208, allocations: 83.81 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.01272, allocations: 295.1 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01272, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01272, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01273, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.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.001639/0.01437, allocations: 0.7114 MB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.01442, allocations: 12.03 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.01473, allocations: 48.78 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.01523, allocations: 196.2 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.01538, allocations: 75.97 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.01544, allocations: 16.38 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.01642, allocations: 330.2 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.01643, allocations: 192 / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.01647, allocations: 16.12 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.01648, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.01755, allocations: 247.8 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.01974, allocations: 0.744 MB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.02069, allocations: 295.1 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.02143, allocations: 247.2 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.02147, allocations: 4 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009504/0.02242, allocations: 412.8 kB / 280 MB, free: 9.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.02242, allocations: 0 / 280 MB, free: 9.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.002072/0.0245, allocations: 0.69 MB / 280.7 MB, free: 9.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/0.02472, allocations: 199.9 kB / 280.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.02514, allocations: 266.6 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.02521, allocations: 41.7 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.02543, allocations: 183.6 kB / 281.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.02558, allocations: 91.27 kB / 281.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.02583, allocations: 91.67 kB / 281.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000435/0.02627, allocations: 0.5157 MB / 282.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.02673, allocations: 169.8 kB / 282.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.02733, allocations: 293.6 kB / 282.5 MB, free: 7.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.02827, allocations: 378.5 kB / 282.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.02828, allocations: 4 kB / 282.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001364/0.02964, allocations: 0.4915 MB / 283.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.02978, allocations: 95.91 kB / 283.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.02979, allocations: 8.094 kB / 283.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.02982, allocations: 4 kB / 283.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.03015, allocations: 43.91 kB / 283.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.03016, allocations: 0 / 283.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.03048, allocations: 43.7 kB / 283.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.03054, allocations: 12 kB / 283.6 MB, free: 5.941 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.0004652/0.031, allocations: 278.5 kB / 283.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.03112, allocations: 27.91 kB / 283.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.03121, allocations: 26.64 kB / 283.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.03122, allocations: 4 kB / 283.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.03123, allocations: 4 kB / 283.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.03124, allocations: 3.938 kB / 283.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.03374, allocations: 0.9407 MB / 284.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.03374, allocations: 4 kB / 284.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.03392, allocations: 23.98 kB / 284.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.03393, allocations: 0 / 284.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.03398, allocations: 11.98 kB / 284.9 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.03399, allocations: 7.938 kB / 284.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03399, allocations: 0 / 284.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.03591, allocations: 0.7003 MB / 285.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.036, allocations: 35.7 kB / 285.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.0361, allocations: 19.94 kB / 285.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.03644, allocations: 15.98 kB / 285.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.03657, allocations: 27.95 kB / 285.7 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.03662, allocations: 8 kB / 285.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.03686, allocations: 180.2 kB / 285.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.03686, allocations: 4 kB / 285.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006839/0.03754, allocations: 75.95 kB / 286 MB, free: 3.414 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.0002624/0.03781, allocations: 129.2 kB / 286.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.03934, allocations: 0.6232 MB / 286.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.03934, allocations: 0 / 286.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.04017, allocations: 370.5 kB / 287.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.04139, allocations: 157.3 kB / 287.2 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.0431, allocations: 0.5759 MB / 287.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.04334, allocations: 129.7 kB / 287.9 MB, free: 1.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.04358, allocations: 49.89 kB / 288 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.04369, allocations: 20.5 kB / 288 MB, free: 1.203 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04369, allocations: 0 / 288 MB, free: 1.203 MB / 266.7 MB Notification: Performance of Templates: time 0.01565/0.05934, allocations: 4.512 MB / 292.5 MB, free: 12.79 MB / 282.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","/var/lib/jenkins/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: 4.688707707915455]