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.001142/0.001142, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.001006/0.001006, allocations: 161 kB / 24.56 MB, free: 40 kB / 18.57 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 0.9243/0.9243, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.084e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002523/0.002544, allocations: 2.407 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003576, allocations: 0.7204 MB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.003686, allocations: 3.938 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.003838, allocations: 31.72 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.003931, allocations: 67.36 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.004326, allocations: 103.7 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.004606, allocations: 270.9 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.00478, allocations: 75.66 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.005053, allocations: 167.6 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005187, allocations: 91.77 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.005221, allocations: 20 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.005279, allocations: 35.98 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.005331, allocations: 55.75 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.005415, allocations: 83.83 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.005673, allocations: 211.2 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005676, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005677, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.005682, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.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.000737/0.006419, allocations: 0.6923 MB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.006451, allocations: 8.031 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.006594, allocations: 56.73 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.006807, allocations: 184.2 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.006877, allocations: 79.95 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.0069, allocations: 16.38 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.007261, allocations: 310.9 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.007269, allocations: 192 / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.007289, allocations: 12.12 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.007299, allocations: 4 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.007475, allocations: 188.3 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.008272, allocations: 0.6816 MB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.008541, allocations: 259 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.008733, allocations: 203.2 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.00875, allocations: 7.984 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.009038, allocations: 372 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.00904, allocations: 0 / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005541/0.009594, allocations: 0.6012 MB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.009665, allocations: 203.9 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.00979, allocations: 230.6 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.009811, allocations: 41.69 kB / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.009891, allocations: 187.6 kB / 281.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.00994, allocations: 79.39 kB / 281.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.01001, allocations: 75.67 kB / 281.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01013, allocations: 0.5079 MB / 282.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01023, allocations: 137.8 kB / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01037, allocations: 261.6 kB / 282.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.01058, allocations: 318.5 kB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01058, allocations: 0 / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003348/0.01092, allocations: 451.4 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.01096, allocations: 93.09 kB / 283.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.01097, allocations: 0 / 283.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01098, allocations: 8 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01111, allocations: 51.84 kB / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01112, allocations: 4 kB / 283.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.01121, allocations: 39.7 kB / 283.6 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.01122, allocations: 20.09 kB / 283.6 MB, free: 6.297 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.000136/0.01136, allocations: 262.5 kB / 283.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.0114, allocations: 35.91 kB / 283.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.01143, allocations: 22.64 kB / 283.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01143, allocations: 4 kB / 283.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01143, allocations: 0 / 283.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01144, allocations: 7.922 kB / 283.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/0.01215, allocations: 0.8588 MB / 284.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01215, allocations: 0 / 284.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.01221, allocations: 19.98 kB / 284.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01222, allocations: 4 kB / 284.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.01224, allocations: 11.98 kB / 284.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01224, allocations: 3.938 kB / 284.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01224, allocations: 4 kB / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.01267, allocations: 0.6497 MB / 285.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.01269, allocations: 23.73 kB / 285.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.01273, allocations: 15.98 kB / 285.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01283, allocations: 19.94 kB / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.01289, allocations: 23.95 kB / 285.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01291, allocations: 8 kB / 285.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.906e-05/0.01298, allocations: 164.2 kB / 285.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01298, allocations: 0 / 285.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000217/0.0132, allocations: 75.95 kB / 285.8 MB, free: 3.953 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.0001104/0.01331, allocations: 137.1 kB / 285.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.01369, allocations: 0.549 MB / 286.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0137, allocations: 0 / 286.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.0139, allocations: 329.5 kB / 286.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.0143, allocations: 154 kB / 287 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.01518, allocations: 0.5641 MB / 287.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.01523, allocations: 80.83 kB / 287.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.903e-05/0.01533, allocations: 49.88 kB / 287.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.01538, allocations: 20.5 kB / 287.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01538, allocations: 0 / 287.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of Templates: time 0.006368/0.02175, allocations: 4.774 MB / 292.4 MB, free: 13.24 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] 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","",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.8656966011039913]