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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001677/0.001677, allocations: 212 kB / 23.73 MB, free: 4.387 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 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.002038/0.002038, allocations: 59.84 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2619, allocations: 53.35 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004057/0.266, allocations: 2.282 MB / 433.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2674, allocations: 0.7012 MB / 434.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2675, allocations: 7.938 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.2677, allocations: 23.72 kB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2678, allocations: 63.42 kB / 434.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.2682, allocations: 107.8 kB / 434.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.2685, allocations: 263 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.2688, allocations: 78.88 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.269, allocations: 123.6 kB / 435.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.2692, allocations: 99.53 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.2692, allocations: 24 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.2693, allocations: 24 kB / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.2694, allocations: 55.78 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.2695, allocations: 107.5 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.2699, allocations: 286.6 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2699, allocations: 0 / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2699, allocations: 4 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2699, allocations: 0 / 435.8 MB, free: 2.496 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.001075/0.271, allocations: 0.6 MB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.271, allocations: 8.031 kB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.2712, allocations: 40.73 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.2716, allocations: 190.2 kB / 436.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/0.2717, allocations: 75.75 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.2717, allocations: 20.38 kB / 436.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.2723, allocations: 353.4 kB / 437.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2724, allocations: 0 / 437.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.2724, allocations: 12 kB / 437.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2724, allocations: 4 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.273, allocations: 279.6 kB / 437.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2743, allocations: 0.6313 MB / 438 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.275, allocations: 326.6 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.2755, allocations: 264.4 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2755, allocations: 4 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/0.2761, allocations: 416.3 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.2761, allocations: 4 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00137/0.2775, allocations: 0.7352 MB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.2776, allocations: 203.9 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.2778, allocations: 186.4 kB / 440.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.2778, allocations: 37.7 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.278, allocations: 136.8 kB / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.278, allocations: 83.38 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2781, allocations: 70.02 kB / 440.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2783, allocations: 330.8 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.2786, allocations: 201.7 kB / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.279, allocations: 293.8 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.2796, allocations: 417.5 kB / 441.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2796, allocations: 0 / 441.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007914/0.2804, allocations: 0.5322 MB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.221e-05/0.2804, allocations: 101.1 kB / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2805, allocations: 0 / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2805, allocations: 11.94 kB / 442.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2807, allocations: 39.92 kB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2807, allocations: 7.938 kB / 442.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2808, allocations: 35.92 kB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2809, allocations: 16 kB / 442.4 MB, free: 11.37 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.0002541/0.2811, allocations: 243.6 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.2812, allocations: 27.86 kB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.2812, allocations: 22.64 kB / 442.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2812, allocations: 7.938 kB / 442.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2812, allocations: 0 / 442.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2812, allocations: 0 / 442.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2826, allocations: 0.902 MB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2826, allocations: 0 / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.2827, allocations: 23.92 kB / 443.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.2827, allocations: 7.969 kB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.2828, allocations: 15.98 kB / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2828, allocations: 0 / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2828, allocations: 0 / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2838, allocations: 0.6785 MB / 444.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.2838, allocations: 15.84 kB / 444.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.2839, allocations: 23.98 kB / 444.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2841, allocations: 19.98 kB / 444.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.2842, allocations: 23.92 kB / 444.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2842, allocations: 19.92 kB / 444.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2843, allocations: 132.3 kB / 444.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2843, allocations: 0 / 444.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.2846, allocations: 71.94 kB / 444.6 MB, free: 9.016 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.0001509/0.2848, allocations: 133.3 kB / 444.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009279/0.2857, allocations: 0.6546 MB / 445.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2857, allocations: 4.562 kB / 445.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.2862, allocations: 366.2 kB / 445.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.2869, allocations: 155.8 kB / 445.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2879, allocations: 0.599 MB / 446.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.288, allocations: 133.6 kB / 446.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.2882, allocations: 57.88 kB / 446.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.2882, allocations: 19.44 kB / 446.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2882, allocations: 4 kB / 446.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of Templates: time 0.008784/0.297, allocations: 4.713 MB / 451.4 MB, free: 2.137 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 -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/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.6444934867322445]