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.001321/0.001321, allocations: 83.38 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.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.0014/0.0014, allocations: 164.7 kB / 23.95 MB, free: 4.156 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: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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 2.124e-06/2.124e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.16e-05, allocations: 9.516 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004066/0.004098, allocations: 2.294 MB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005591, allocations: 0.7026 MB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.005709, allocations: 2.656 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.005877, allocations: 32.81 kB / 328.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.00602, allocations: 65.77 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.006457, allocations: 104.3 kB / 328.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.006824, allocations: 273.5 kB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.007047, allocations: 77.31 kB / 328.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.00741, allocations: 167 kB / 328.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.007612, allocations: 93.41 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.007678, allocations: 22.41 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.00778, allocations: 29.78 kB / 328.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.007895, allocations: 55.08 kB / 329 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.008082, allocations: 83.16 kB / 329.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.008566, allocations: 296.4 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.008569, allocations: 0 / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008569, allocations: 1.625 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.008575, allocations: 0 / 329.3 MB, free: 13.89 MB / 302.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.001122/0.009698, allocations: 0.6055 MB / 330 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.009733, allocations: 9.375 kB / 330 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.009942, allocations: 36.67 kB / 330 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.01031, allocations: 182.7 kB / 330.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.01041, allocations: 76.67 kB / 330.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.01045, allocations: 18.64 kB / 330.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.01115, allocations: 349.1 kB / 330.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01117, allocations: 4.188 kB / 330.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.0112, allocations: 10.44 kB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.01121, allocations: 6.188 kB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.01181, allocations: 270.7 kB / 330.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.01322, allocations: 0.6452 MB / 331.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/0.01412, allocations: 335.5 kB / 331.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.01482, allocations: 266.2 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01484, allocations: 2.719 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008425/0.01569, allocations: 412.1 kB / 332.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.01569, allocations: 0 / 332.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001922/0.01761, allocations: 0.7432 MB / 333.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.0178, allocations: 200.3 kB / 333.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.01805, allocations: 182.8 kB / 333.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.01811, allocations: 39.42 kB / 333.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.01825, allocations: 134.6 kB / 333.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.01835, allocations: 83.23 kB / 333.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.01849, allocations: 66.41 kB / 334 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.01868, allocations: 333 kB / 334.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.01909, allocations: 203.7 kB / 334.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.0196, allocations: 291.5 kB / 334.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.02045, allocations: 418.4 kB / 335.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.02045, allocations: 5.844 kB / 335.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001197/0.02165, allocations: 0.5323 MB / 335.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.02175, allocations: 91.56 kB / 335.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.02176, allocations: 1.844 kB / 335.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.02179, allocations: 3.406 kB / 335.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.02205, allocations: 46.8 kB / 335.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.02207, allocations: 7.766 kB / 335.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.02235, allocations: 37.41 kB / 335.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.02239, allocations: 17.83 kB / 335.9 MB, free: 8.867 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.0003363/0.02273, allocations: 237.5 kB / 336.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.0228, allocations: 24.98 kB / 336.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.02286, allocations: 29.92 kB / 336.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02287, allocations: 2.781 kB / 336.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.02288, allocations: 0 / 336.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.02289, allocations: 9.281 kB / 336.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.02483, allocations: 0.8971 MB / 337.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.02484, allocations: 0.9375 kB / 337.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.02498, allocations: 20.52 kB / 337.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.02499, allocations: 5.234 kB / 337.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.02503, allocations: 8.906 kB / 337.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.02504, allocations: 5.094 kB / 337.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.02504, allocations: 5.125 kB / 337.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.02646, allocations: 0.6722 MB / 337.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.02652, allocations: 30.55 kB / 337.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.0266, allocations: 16.89 kB / 337.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.0269, allocations: 21.11 kB / 337.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.027, allocations: 24.7 kB / 337.9 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.02704, allocations: 12.56 kB / 337.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.02721, allocations: 131.2 kB / 338.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02721, allocations: 4 kB / 338.1 MB, free: 7.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.02774, allocations: 74.94 kB / 338.1 MB, free: 7.293 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.0002269/0.02797, allocations: 134.4 kB / 338.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.02933, allocations: 0.6511 MB / 338.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02933, allocations: 0 / 338.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.03006, allocations: 370.2 kB / 339.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.03105, allocations: 150.6 kB / 339.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.03263, allocations: 0.5816 MB / 340 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.03284, allocations: 137.7 kB / 340.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.03308, allocations: 49.89 kB / 340.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.03319, allocations: 20.5 kB / 340.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of SimCode: time 1.382e-06/0.03319, allocations: 4 kB / 340.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of Templates: time 0.01286/0.04605, allocations: 4.504 MB / 344.7 MB, free: 0.75 MB / 302.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/jenkins/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/jenkins/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: 4.480312522500753]