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.0009582/0.0009582, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001305/0.001305, allocations: 141.7 kB / 24.97 MB, free: 8.359 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.9601/0.9601, allocations: 173.4 MB / 201.5 MB, free: 9.328 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 2.004e-06/2.004e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.211e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003164/0.003186, allocations: 2.361 MB / 270.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.004056, allocations: 0.662 MB / 271.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.004149, allocations: 11.88 kB / 271.1 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.004274, allocations: 23.72 kB / 271.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.00435, allocations: 63.48 kB / 271.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.004642, allocations: 95.64 kB / 271.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.004878, allocations: 270.9 kB / 271.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.005041, allocations: 79.64 kB / 271.6 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.00523, allocations: 167.6 kB / 271.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.005338, allocations: 87.77 kB / 271.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.005375, allocations: 28 kB / 271.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.603e-05/0.005401, allocations: 20 kB / 271.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.00545, allocations: 55.81 kB / 272 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.005534, allocations: 83.77 kB / 272.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005749, allocations: 199.3 kB / 272.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005751, allocations: 0 / 272.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005752, allocations: 0 / 272.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005757, allocations: 3.938 kB / 272.3 MB, free: 2.504 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.0006772/0.006434, allocations: 0.6923 MB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.006464, allocations: 8.922 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.006534, allocations: 40.8 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.00673, allocations: 192.8 kB / 273.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.006798, allocations: 75.95 kB / 273.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.006824, allocations: 20.38 kB / 273.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.007168, allocations: 310.7 kB / 273.6 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.007176, allocations: 4.188 kB / 273.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.007195, allocations: 12.12 kB / 273.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007202, allocations: 4 kB / 273.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.007383, allocations: 180.3 kB / 273.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.008148, allocations: 0.674 MB / 274.5 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.008423, allocations: 247.1 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.008864, allocations: 209.9 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.00888, allocations: 7.984 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.009151, allocations: 376.9 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.162e-06/0.009152, allocations: 0 / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005623/0.009714, allocations: 0.5971 MB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.009785, allocations: 195.9 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.00991, allocations: 241.8 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.009932, allocations: 37.69 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.01001, allocations: 183.6 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.01006, allocations: 75.44 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.01013, allocations: 79.62 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.01025, allocations: 0.5118 MB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01035, allocations: 137.8 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.01049, allocations: 253.7 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.0107, allocations: 325.7 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0107, allocations: 0 / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003266/0.01103, allocations: 439.5 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.01107, allocations: 101.2 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01108, allocations: 0 / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01109, allocations: 4 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01123, allocations: 47.84 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01124, allocations: 7.938 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.01133, allocations: 39.7 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01134, allocations: 12 kB / 278.5 MB, free: 11.64 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.000137/0.01148, allocations: 270.5 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.01152, allocations: 35.86 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.01155, allocations: 26.64 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01155, allocations: 4 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01156, allocations: 4 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01156, allocations: 3.938 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.01224, allocations: 0.851 MB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01224, allocations: 4.031 kB / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.0123, allocations: 19.98 kB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.0123, allocations: 0 / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.01232, allocations: 8 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01232, allocations: 7.938 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01233, allocations: 3.984 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.01274, allocations: 0.6357 MB / 280.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.01277, allocations: 35.66 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.0128, allocations: 12 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.0129, allocations: 23.98 kB / 280.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.01296, allocations: 23.95 kB / 280.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01298, allocations: 8 kB / 280.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.01304, allocations: 164.2 kB / 280.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01304, allocations: 4 kB / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.01326, allocations: 71.89 kB / 280.7 MB, free: 9.293 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 9.856e-05/0.01336, allocations: 137.2 kB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.01376, allocations: 0.5451 MB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01377, allocations: 0 / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.01422, allocations: 329.7 kB / 281.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.01462, allocations: 157.2 kB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.01545, allocations: 0.5678 MB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.0155, allocations: 80.83 kB / 282.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.407e-05/0.0156, allocations: 45.89 kB / 282.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.01564, allocations: 24.5 kB / 282.6 MB, free: 7.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01564, allocations: 0 / 282.6 MB, free: 7.25 MB / 266.7 MB Notification: Performance of Templates: time 0.005634/0.02127, allocations: 4.536 MB / 287.1 MB, free: 2.805 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.834709882037714]