Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001352/0.001352, allocations: 85.67 kB / 21.43 MB, free: 296 kB / 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.00149/0.00149, allocations: 163.2 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.776e-06/2.776e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.857e-05/5.135e-05, allocations: 2.281 kB / 299 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004245/0.004296, allocations: 2.228 MB / 301.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.005826, allocations: 0.6708 MB / 301.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.005958, allocations: 4 kB / 301.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.006137, allocations: 35.64 kB / 301.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.006268, allocations: 55.5 kB / 301.9 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.006655, allocations: 95.62 kB / 302 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.007024, allocations: 266.9 kB / 302.3 MB, free: 5.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.007235, allocations: 79.59 kB / 302.4 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.007528, allocations: 171.6 kB / 302.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.0077, allocations: 83.77 kB / 302.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.007758, allocations: 28 kB / 302.7 MB, free: 5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.007808, allocations: 20 kB / 302.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.007888, allocations: 51.83 kB / 302.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.008014, allocations: 87.75 kB / 302.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.008411, allocations: 295.1 kB / 303.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.008416, allocations: 0 / 303.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008417, allocations: 0 / 303.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.008424, allocations: 3.938 kB / 303.1 MB, free: 4.551 MB / 286.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.001176/0.0096, allocations: 0.5924 MB / 303.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.009642, allocations: 11.98 kB / 303.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.47e-05/0.009727, allocations: 32.8 kB / 303.7 MB, free: 3.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.01009, allocations: 186 kB / 303.9 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.01022, allocations: 79.95 kB / 304 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.01026, allocations: 16.38 kB / 304 MB, free: 3.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.01096, allocations: 354 kB / 304.4 MB, free: 3.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01097, allocations: 4.125 kB / 304.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.01101, allocations: 16.12 kB / 304.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01102, allocations: 7.984 kB / 304.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.0116, allocations: 271.8 kB / 304.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.01291, allocations: 0.6316 MB / 305.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.01358, allocations: 334.6 kB / 305.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.01408, allocations: 256.3 kB / 305.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01411, allocations: 4 kB / 305.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/0.01476, allocations: 421.5 kB / 306.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.01476, allocations: 0 / 306.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001416/0.01618, allocations: 0.7337 MB / 307 MB, free: 356 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.01633, allocations: 203.9 kB / 307.2 MB, free: 108 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.01656, allocations: 182.2 kB / 307.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.0166, allocations: 37.7 kB / 307.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.0167, allocations: 132.9 kB / 307.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.01678, allocations: 87.27 kB / 307.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.0169, allocations: 70.02 kB / 307.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.01705, allocations: 330.8 kB / 308 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.01736, allocations: 205.7 kB / 308.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.01773, allocations: 286.1 kB / 308.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.01833, allocations: 421.4 kB / 308.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.01834, allocations: 8 kB / 308.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008401/0.01918, allocations: 0.5307 MB / 309.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/0.01927, allocations: 93.09 kB / 309.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01928, allocations: 0 / 309.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.0193, allocations: 7.938 kB / 309.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01948, allocations: 44.02 kB / 309.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.01949, allocations: 4 kB / 309.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.01968, allocations: 39.7 kB / 309.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.01971, allocations: 16 kB / 309.7 MB, free: 13.44 MB / 302.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.0002461/0.01995, allocations: 231.8 kB / 309.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.02, allocations: 27.86 kB / 309.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.02005, allocations: 26.64 kB / 309.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.02006, allocations: 4 kB / 309.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.02006, allocations: 0 / 309.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.02007, allocations: 7.922 kB / 309.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.0215, allocations: 0.8968 MB / 310.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02151, allocations: 7.938 kB / 310.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.02162, allocations: 23.92 kB / 310.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.02162, allocations: 0 / 310.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.02166, allocations: 11.98 kB / 310.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.02167, allocations: 8.125 kB / 310.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02167, allocations: 0 / 310.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.02271, allocations: 0.6747 MB / 311.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.02275, allocations: 27.73 kB / 311.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.02281, allocations: 15.98 kB / 311.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.02304, allocations: 27.92 kB / 311.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.02312, allocations: 19.97 kB / 311.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.02315, allocations: 19.97 kB / 311.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.02326, allocations: 123.2 kB / 311.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02326, allocations: 0 / 311.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.02362, allocations: 79.89 kB / 311.9 MB, free: 11.08 MB / 302.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.000184/0.0238, allocations: 125.2 kB / 312 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009923/0.0248, allocations: 0.6547 MB / 312.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0248, allocations: 0 / 312.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.02533, allocations: 370 kB / 313 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.0261, allocations: 152.6 kB / 313.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.0272, allocations: 0.5736 MB / 313.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.02734, allocations: 142 kB / 313.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.02748, allocations: 53.88 kB / 313.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.02755, allocations: 24.48 kB / 314 MB, free: 8.828 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.02755, allocations: 0 / 314 MB, free: 8.828 MB / 302.1 MB Notification: Performance of Templates: time 0.009061/0.03661, allocations: 4.488 MB / 318.4 MB, free: 4.336 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.401178937405348]