Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 145.3 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.231e-05, allocations: 3.125 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003084/0.003106, allocations: 2.254 MB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.004166, allocations: 0.6331 MB / 321.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.00427, allocations: 2.625 kB / 321.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.00443, allocations: 31.89 kB / 321.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.00453, allocations: 62.08 kB / 321.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.004864, allocations: 99.86 kB / 322 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.005153, allocations: 264.8 kB / 322.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.005352, allocations: 77.16 kB / 322.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.005613, allocations: 166.8 kB / 322.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.005779, allocations: 85.84 kB / 322.6 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.005832, allocations: 27 kB / 322.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-05/0.005883, allocations: 22.69 kB / 322.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.005948, allocations: 55.52 kB / 322.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.006083, allocations: 81.45 kB / 322.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.006426, allocations: 292.8 kB / 323.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.00643, allocations: 5.922 kB / 323.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006431, allocations: 0 / 323.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006436, allocations: 0 / 323.1 MB, free: 1.008 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.0009159/0.007352, allocations: 0.6062 MB / 323.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.007385, allocations: 9.734 kB / 323.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.007457, allocations: 31.27 kB / 323.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.007715, allocations: 174 kB / 323.9 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.00779, allocations: 76 kB / 324 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.007824, allocations: 17.69 kB / 324 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.008422, allocations: 360.6 kB / 324.3 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.008437, allocations: 192 / 324.3 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.008467, allocations: 12.17 kB / 324.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.008479, allocations: 4 kB / 324.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/0.00908, allocations: 276.2 kB / 324.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.01049, allocations: 0.6254 MB / 325.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.01119, allocations: 329.2 kB / 325.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.01169, allocations: 264.5 kB / 325.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.01171, allocations: 2.375 kB / 325.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006308/0.01234, allocations: 424.2 kB / 326.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.01234, allocations: 0 / 326.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001401/0.01374, allocations: 0.7283 MB / 327 MB, free: 14.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.0139, allocations: 206.6 kB / 327.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01409, allocations: 192 kB / 327.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.01413, allocations: 39.64 kB / 327.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01424, allocations: 130.5 kB / 327.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.01432, allocations: 86.2 kB / 327.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.01443, allocations: 65.64 kB / 327.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.01458, allocations: 336 kB / 328 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.01489, allocations: 203.4 kB / 328.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.01526, allocations: 292.5 kB / 328.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.01587, allocations: 419.5 kB / 328.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01587, allocations: 0 / 328.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00084/0.01671, allocations: 0.5335 MB / 329.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.078e-05/0.01679, allocations: 97.44 kB / 329.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.0168, allocations: 1.375 kB / 329.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01682, allocations: 2.562 kB / 329.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.01701, allocations: 41.03 kB / 329.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.01702, allocations: 8.531 kB / 329.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.01723, allocations: 41.44 kB / 329.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.01726, allocations: 13.84 kB / 329.6 MB, free: 12.46 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.0002489/0.01751, allocations: 236.6 kB / 329.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.01755, allocations: 26.31 kB / 329.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.01761, allocations: 24.19 kB / 329.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.01762, allocations: 2.188 kB / 329.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.01764, allocations: 0 / 329.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.01764, allocations: 6.344 kB / 329.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.01915, allocations: 0.8934 MB / 330.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01916, allocations: 0.7031 kB / 330.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01927, allocations: 24.34 kB / 330.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01928, allocations: 1.188 kB / 330.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.01932, allocations: 15.89 kB / 330.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01932, allocations: 9.578 kB / 330.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01932, allocations: 1 kB / 330.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.02041, allocations: 0.6734 MB / 331.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.02046, allocations: 26.84 kB / 331.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.02053, allocations: 19.98 kB / 331.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.02074, allocations: 18.59 kB / 331.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.02083, allocations: 22.94 kB / 331.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.02085, allocations: 12.7 kB / 331.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.02097, allocations: 142.7 kB / 331.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02097, allocations: 1.219 kB / 331.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.02132, allocations: 69.56 kB / 331.8 MB, free: 11.11 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.000188/0.0215, allocations: 130.7 kB / 332 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009684/0.02247, allocations: 0.66 MB / 332.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02248, allocations: 1.188 kB / 332.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.023, allocations: 366.5 kB / 333 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008199/0.02382, allocations: 154.6 kB / 333.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.02492, allocations: 0.5784 MB / 333.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.02507, allocations: 134.3 kB / 333.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.02526, allocations: 49.84 kB / 333.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.02532, allocations: 21.02 kB / 333.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.02532, allocations: 3.938 kB / 333.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Templates: time 0.009011/0.03433, allocations: 4.498 MB / 338.4 MB, free: 7.469 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.456636764109135]