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.001408/0.001408, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001431/0.001431, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.002327/0.002327, allocations: 47.94 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1563, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004497/0.1608, allocations: 2.39 MB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1625, allocations: 0.7439 MB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1627, allocations: 11.88 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1629, allocations: 31.72 kB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1631, allocations: 59.48 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1635, allocations: 103.7 kB / 430.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.1639, allocations: 263 kB / 431.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.1641, allocations: 83.03 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1644, allocations: 119.7 kB / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1645, allocations: 119.5 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.1646, allocations: 24 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.1646, allocations: 24 kB / 431.5 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.1647, allocations: 55.83 kB / 431.5 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1648, allocations: 123.3 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2173/0.3821, allocations: 281.4 kB / 431.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3821, allocations: 0 / 431.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3821, allocations: 0.5625 kB / 431.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3821, allocations: 0 / 431.9 MB, free: 8.617 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.001067/0.3832, allocations: 0.6754 MB / 432.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3832, allocations: 11.16 kB / 432.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3834, allocations: 39.64 kB / 432.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.3838, allocations: 249.3 kB / 432.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.3838, allocations: 53.38 kB / 432.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.3839, allocations: 22.94 kB / 432.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.3844, allocations: 255.4 kB / 433.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3845, allocations: 2.734 kB / 433.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.3845, allocations: 13.78 kB / 433.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3845, allocations: 4.156 kB / 433.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.385, allocations: 201.4 kB / 433.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3862, allocations: 0.7624 MB / 434.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.3867, allocations: 260 kB / 434.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.3871, allocations: 182 kB / 434.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3871, allocations: 6.391 kB / 434.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004727/0.3876, allocations: 322.9 kB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.3876, allocations: 1.031 kB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001144/0.3887, allocations: 0.5789 MB / 435.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3888, allocations: 202.5 kB / 435.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.3889, allocations: 185.1 kB / 435.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.389, allocations: 44.95 kB / 435.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.389, allocations: 130.9 kB / 436.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3891, allocations: 87.28 kB / 436.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.3892, allocations: 68.44 kB / 436.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.3892, allocations: 332.9 kB / 436.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3895, allocations: 112.2 kB / 436.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.3897, allocations: 166.3 kB / 436.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.3902, allocations: 407.6 kB / 437.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3902, allocations: 3.938 kB / 437.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006511/0.3909, allocations: 446.3 kB / 437.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.3909, allocations: 96.69 kB / 437.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3909, allocations: 1.5 kB / 437.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.391, allocations: 13.81 kB / 437.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3912, allocations: 37.58 kB / 437.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3912, allocations: 2.906 kB / 437.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.3914, allocations: 36.5 kB / 437.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3914, allocations: 11.34 kB / 437.8 MB, free: 5.77 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.000182/0.3916, allocations: 241.6 kB / 438.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.3916, allocations: 25.23 kB / 438.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.3917, allocations: 29.59 kB / 438.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3917, allocations: 3.125 kB / 438.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3917, allocations: 0 / 438.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3917, allocations: 5.156 kB / 438.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.3931, allocations: 0.9366 MB / 439.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3931, allocations: 2.906 kB / 439.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3932, allocations: 24.12 kB / 439.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3932, allocations: 1.062 kB / 439.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3932, allocations: 15.12 kB / 439.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3932, allocations: 1.375 kB / 439.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3932, allocations: 7.219 kB / 439.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.3941, allocations: 0.6135 MB / 439.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3942, allocations: 104.8 kB / 439.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3942, allocations: 17.33 kB / 439.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3945, allocations: 20.72 kB / 439.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.3945, allocations: 22.64 kB / 439.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3946, allocations: 13.14 kB / 439.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.531e-05/0.3947, allocations: 129.6 kB / 440 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3947, allocations: 0.75 kB / 440 MB, free: 4.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.3951, allocations: 77.88 kB / 440.1 MB, free: 4.762 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.0001612/0.3952, allocations: 134.6 kB / 440.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008154/0.396, allocations: 0.5188 MB / 440.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.396, allocations: 1.375 kB / 440.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.3965, allocations: 315.6 kB / 441.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.3972, allocations: 144.1 kB / 441.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.3981, allocations: 0.5616 MB / 441.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3983, allocations: 0.7502 MB / 442.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.3984, allocations: 22.77 kB / 442.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3984, allocations: 0.625 kB / 442.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of Templates: time 0.005955/0.4044, allocations: 3.143 MB / 445.7 MB, free: 2.922 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/jenkins1/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/jenkins1/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: 7.346530351991532]