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.001029/0.001029, allocations: 85.95 kB / 23 MB, free: 1.5 MB / 18.57 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.000885/0.000885, allocations: 175.7 kB / 26.39 MB, free: 7.98 MB / 18.57 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 0.9644/0.9644, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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 1.112e-06/1.112e-06, allocations: 0 / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.197e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003029/0.003051, allocations: 2.319 MB / 254.6 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004179, allocations: 0.6941 MB / 255.3 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.004276, allocations: 4 kB / 255.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.004422, allocations: 35.7 kB / 255.3 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.004537, allocations: 67.36 kB / 255.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.00489, allocations: 95.62 kB / 255.5 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.00518, allocations: 270.9 kB / 255.7 MB, free: 3.75 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.005354, allocations: 71.66 kB / 255.8 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.005601, allocations: 167.6 kB / 256 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.005718, allocations: 87.77 kB / 256 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.005749, allocations: 24 kB / 256.1 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.005774, allocations: 20 kB / 256.1 MB, free: 3.387 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.005819, allocations: 55.77 kB / 256.1 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.005894, allocations: 87.8 kB / 256.2 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.006105, allocations: 199.3 kB / 256.4 MB, free: 3.051 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.006107, allocations: 0 / 256.4 MB, free: 3.051 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006108, allocations: 0 / 256.4 MB, free: 3.051 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006112, allocations: 0 / 256.4 MB, free: 3.051 MB / 234.7 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.0006025/0.006714, allocations: 0.7038 MB / 257.1 MB, free: 2.293 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.006741, allocations: 11.98 kB / 257.1 MB, free: 2.281 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.006801, allocations: 44.8 kB / 257.2 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006962, allocations: 180.9 kB / 257.4 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.007015, allocations: 75.95 kB / 257.4 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.007038, allocations: 20.38 kB / 257.5 MB, free: 1.93 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.007315, allocations: 270.9 kB / 257.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.007323, allocations: 192 / 257.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.007342, allocations: 16.12 kB / 257.7 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.007348, allocations: 7.984 kB / 257.7 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.007466, allocations: 144.3 kB / 257.9 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.008146, allocations: 0.6434 MB / 258.5 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.008371, allocations: 215 kB / 258.7 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.008521, allocations: 175.2 kB / 258.9 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.008534, allocations: 7.938 kB / 258.9 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.008788, allocations: 348.7 kB / 259.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.008789, allocations: 0 / 259.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004558/0.009245, allocations: 0.5114 MB / 259.8 MB, free: 15.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.009319, allocations: 207.8 kB / 260 MB, free: 15.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.009429, allocations: 229.7 kB / 260.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.009455, allocations: 41.69 kB / 260.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.00955, allocations: 187.6 kB / 260.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.009599, allocations: 83.36 kB / 260.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.009676, allocations: 79.62 kB / 260.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.009806, allocations: 0.5079 MB / 261.1 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.009886, allocations: 121.8 kB / 261.2 MB, free: 13.83 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.01001, allocations: 233.9 kB / 261.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.0102, allocations: 298.5 kB / 261.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0102, allocations: 0 / 261.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002951/0.01049, allocations: 415.4 kB / 262.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.01054, allocations: 97.09 kB / 262.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01054, allocations: 0 / 262.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.01055, allocations: 4 kB / 262.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01066, allocations: 43.91 kB / 262.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.01067, allocations: 4 kB / 262.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.01076, allocations: 39.83 kB / 262.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.01078, allocations: 12.03 kB / 262.3 MB, free: 12.54 MB / 250.7 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.0001486/0.01093, allocations: 266.5 kB / 262.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01096, allocations: 35.86 kB / 262.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.01099, allocations: 26.64 kB / 262.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.011, allocations: 4 kB / 262.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.011, allocations: 0 / 262.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.011, allocations: 0 / 262.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.01162, allocations: 0.7821 MB / 263.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01163, allocations: 0 / 263.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.01168, allocations: 23.92 kB / 263.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01169, allocations: 0 / 263.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.0117, allocations: 12 kB / 263.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.0117, allocations: 4 kB / 263.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0117, allocations: 0 / 263.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.0121, allocations: 0.6004 MB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.01212, allocations: 27.83 kB / 264.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.01216, allocations: 15.94 kB / 264.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01226, allocations: 15.98 kB / 264.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.01231, allocations: 23.95 kB / 264.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01232, allocations: 12 kB / 264.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.15e-05/0.01238, allocations: 163.1 kB / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01238, allocations: 0 / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.01261, allocations: 83.88 kB / 264.4 MB, free: 10.32 MB / 250.7 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.0001118/0.01272, allocations: 133.2 kB / 264.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.01306, allocations: 0.5018 MB / 265 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01306, allocations: 0 / 265 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.01323, allocations: 293.7 kB / 265.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.01362, allocations: 150.9 kB / 265.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/0.01436, allocations: 0.5405 MB / 266 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.0144, allocations: 80.83 kB / 266.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.588e-05/0.01449, allocations: 25.92 kB / 266.1 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.01469, allocations: 162.1 kB / 266.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0147, allocations: 0 / 266.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of Templates: time 0.005734/0.02043, allocations: 4.92 MB / 271.2 MB, free: 3.391 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.892864284105599]