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.001815/0.001815, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001622/0.001622, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.607/1.607, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001628/0.001628, allocations: 47.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 53.34 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004048/0.1223, allocations: 2.389 MB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1239, allocations: 0.744 MB / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.124, allocations: 11.88 kB / 430 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1242, allocations: 31.66 kB / 430 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1243, allocations: 55.5 kB / 430 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.1248, allocations: 103.8 kB / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.1251, allocations: 271 kB / 430.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.1254, allocations: 75.06 kB / 430.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.1257, allocations: 127.6 kB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1258, allocations: 115.5 kB / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1259, allocations: 23.94 kB / 430.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.126, allocations: 32 kB / 430.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.126, allocations: 51.83 kB / 430.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1262, allocations: 119.4 kB / 430.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2346/0.3607, allocations: 284.9 kB / 431.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3607, allocations: 0.875 kB / 431.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3607, allocations: 0 / 431.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.3608, allocations: 0 / 431.2 MB, free: 8.648 MB / 350.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.001123/0.3619, allocations: 0.6749 MB / 431.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3619, allocations: 11.72 kB / 431.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.3621, allocations: 37.25 kB / 431.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3624, allocations: 252.8 kB / 432.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.3625, allocations: 48.7 kB / 432.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.3626, allocations: 25.95 kB / 432.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.3632, allocations: 256.2 kB / 432.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3633, allocations: 4.328 kB / 432.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.3633, allocations: 7.719 kB / 432.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3633, allocations: 3.281 kB / 432.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.3638, allocations: 201.8 kB / 432.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3651, allocations: 0.7612 MB / 433.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.3657, allocations: 261 kB / 433.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/0.3661, allocations: 186.3 kB / 433.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3661, allocations: 2.188 kB / 433.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/0.3666, allocations: 320.5 kB / 434.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.3666, allocations: 1.156 kB / 434.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001304/0.3679, allocations: 0.5776 MB / 434.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.368, allocations: 204 kB / 435 MB, free: 6.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3682, allocations: 180.6 kB / 435.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.3683, allocations: 42.89 kB / 435.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.3683, allocations: 130.9 kB / 435.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.3684, allocations: 86.38 kB / 435.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3685, allocations: 69.14 kB / 435.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.3686, allocations: 335 kB / 435.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3689, allocations: 112.4 kB / 436 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.3692, allocations: 171 kB / 436.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.3697, allocations: 403.5 kB / 436.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3697, allocations: 7.5 kB / 436.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007387/0.3705, allocations: 448 kB / 437 MB, free: 5.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.3705, allocations: 96.16 kB / 437.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3705, allocations: 1.062 kB / 437.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3706, allocations: 7.234 kB / 437.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3708, allocations: 40.14 kB / 437.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3708, allocations: 8.219 kB / 437.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.371, allocations: 34.86 kB / 437.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.371, allocations: 14.36 kB / 437.2 MB, free: 5.805 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.0002016/0.3712, allocations: 239.2 kB / 437.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.3713, allocations: 31.78 kB / 437.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.3713, allocations: 30.48 kB / 437.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3713, allocations: 2.031 kB / 437.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3713, allocations: 0 / 437.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3713, allocations: 2.656 kB / 437.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.3728, allocations: 0.9328 MB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3728, allocations: 1.875 kB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3729, allocations: 23.34 kB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3729, allocations: 3.25 kB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.3729, allocations: 11.22 kB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3729, allocations: 0.9688 kB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3729, allocations: 5.703 kB / 438.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/0.3739, allocations: 0.6219 MB / 439.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.374, allocations: 99.97 kB / 439.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.3741, allocations: 19.47 kB / 439.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3743, allocations: 27.17 kB / 439.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3745, allocations: 23.53 kB / 439.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3745, allocations: 15.94 kB / 439.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.3747, allocations: 126.7 kB / 439.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3747, allocations: 0 / 439.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.3752, allocations: 77.55 kB / 439.4 MB, free: 4.793 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.0002347/0.3754, allocations: 134.4 kB / 439.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3765, allocations: 0.5121 MB / 440.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3765, allocations: 192 / 440.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.377, allocations: 317.3 kB / 440.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.3778, allocations: 141.5 kB / 440.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3788, allocations: 0.5298 MB / 441.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3791, allocations: 0.7426 MB / 441.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.3793, allocations: 56.64 kB / 441.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.3793, allocations: 25.3 kB / 441.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3793, allocations: 0 / 441.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of Templates: time 0.01073/0.3901, allocations: 4.321 MB / 446.2 MB, free: 2.941 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: 5.04879505187273]