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.0009237/0.0009237, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001099/0.001099, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 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 0.9794/0.9794, allocations: 173.4 MB / 202.2 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2e-05, allocations: 7.719 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002949/0.002969, allocations: 2.356 MB / 271.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.003912, allocations: 0.6458 MB / 272.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.12e-05/0.004004, allocations: 7.938 kB / 272.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004126, allocations: 39.64 kB / 272.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.004207, allocations: 52.95 kB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.004475, allocations: 95.64 kB / 272.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.004723, allocations: 271.5 kB / 272.7 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.004886, allocations: 83.62 kB / 272.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.005079, allocations: 164.3 kB / 272.9 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.0052, allocations: 92.23 kB / 273 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.005233, allocations: 21.69 kB / 273 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.005259, allocations: 24 kB / 273 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.005307, allocations: 51.83 kB / 273.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.005384, allocations: 87.8 kB / 273.2 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.005591, allocations: 200.4 kB / 273.4 MB, free: 5.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005593, allocations: 0 / 273.4 MB, free: 5.598 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005594, allocations: 4 kB / 273.4 MB, free: 5.594 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005598, allocations: 0 / 273.4 MB, free: 5.594 MB / 250.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.0006359/0.006234, allocations: 0.6949 MB / 274.1 MB, free: 4.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.006262, allocations: 12.03 kB / 274.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.006325, allocations: 45.28 kB / 274.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.006496, allocations: 188.8 kB / 274.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.00656, allocations: 79.95 kB / 274.4 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.006582, allocations: 16.38 kB / 274.4 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.006877, allocations: 270.7 kB / 274.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.006884, allocations: 192 / 274.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.006902, allocations: 12.12 kB / 274.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006907, allocations: 4 kB / 274.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.007149, allocations: 144.6 kB / 274.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.007846, allocations: 0.6395 MB / 275.5 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.008065, allocations: 231 kB / 275.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.008208, allocations: 169.3 kB / 275.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.008222, allocations: 7.938 kB / 275.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.00845, allocations: 340.9 kB / 276.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.008451, allocations: 0 / 276.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004367/0.008888, allocations: 0.5113 MB / 276.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.008963, allocations: 207.8 kB / 276.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.009087, allocations: 234.2 kB / 277.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.00911, allocations: 41.69 kB / 277.2 MB, free: 1.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.009188, allocations: 183.6 kB / 277.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.009234, allocations: 79.41 kB / 277.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.009308, allocations: 79.62 kB / 277.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.009434, allocations: 0.5079 MB / 278 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.00951, allocations: 121.8 kB / 278.1 MB, free: 412 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.009626, allocations: 237.6 kB / 278.4 MB, free: 120 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.009817, allocations: 304.8 kB / 278.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009819, allocations: 0 / 278.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002926/0.01011, allocations: 407.5 kB / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.01016, allocations: 93.09 kB / 279.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.01016, allocations: 0 / 279.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.01017, allocations: 4 kB / 279.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01029, allocations: 51.84 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.0103, allocations: 4 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.01038, allocations: 43.8 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.0104, allocations: 15.94 kB / 279.3 MB, free: 15.1 MB / 266.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.0001411/0.01054, allocations: 262.5 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.01058, allocations: 39.86 kB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.01061, allocations: 22.64 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01062, allocations: 4 kB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01062, allocations: 4 kB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01062, allocations: 0 / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.01123, allocations: 0.7656 MB / 280.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01124, allocations: 4 kB / 280.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.0113, allocations: 19.98 kB / 280.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.0113, allocations: 4 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01131, allocations: 8 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01132, allocations: 4 kB / 280.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01132, allocations: 4.031 kB / 280.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.01172, allocations: 0.6009 MB / 281 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.01174, allocations: 27.78 kB / 281 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.01178, allocations: 19.88 kB / 281.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01188, allocations: 19.98 kB / 281.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.01194, allocations: 23.95 kB / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01195, allocations: 4 kB / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.01202, allocations: 164.1 kB / 281.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 4 kB / 281.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00023/0.01225, allocations: 79.88 kB / 281.3 MB, free: 12.89 MB / 266.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.0001306/0.01238, allocations: 125.9 kB / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.01276, allocations: 0.4967 MB / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01276, allocations: 0 / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.01293, allocations: 309.2 kB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.01333, allocations: 158.8 kB / 282.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.01407, allocations: 0.5376 MB / 283 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.01411, allocations: 84.78 kB / 283 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.01418, allocations: 21.94 kB / 283.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.01437, allocations: 158.1 kB / 283.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01437, allocations: 0 / 283.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.005987/0.02036, allocations: 4.92 MB / 288.1 MB, free: 6.035 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] 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","",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.668608268722892]