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.00164/0.00164, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002077/0.002077, allocations: 161.7 kB / 24.26 MB, free: 176 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 1.456/1.456, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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 1.663e-06/1.663e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.008e-05, allocations: 2.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00613/0.00616, allocations: 2.28 MB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.008786, allocations: 0.7088 MB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.008959, allocations: 0 / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.009204, allocations: 27.72 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.009467, allocations: 71.36 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.01011, allocations: 95.69 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000655/0.01077, allocations: 274.9 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.0111, allocations: 83.62 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.01165, allocations: 167.6 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.01193, allocations: 83.77 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.01201, allocations: 24 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.01213, allocations: 35.92 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.01225, allocations: 55.81 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.01247, allocations: 79.83 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.01319, allocations: 295.1 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01319, allocations: 0 / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01319, allocations: 0 / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.0132, allocations: 0 / 276.6 MB, free: 13.51 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.001882/0.01508, allocations: 0.6079 MB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01513, allocations: 8.031 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.01546, allocations: 48.78 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.01597, allocations: 193.3 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.01614, allocations: 75.97 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.0162, allocations: 16.38 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.0174, allocations: 354.2 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01741, allocations: 4.188 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.01745, allocations: 8.125 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01746, allocations: 4 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.01858, allocations: 271.8 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.02101, allocations: 0.6394 MB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.02247, allocations: 338.5 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009357/0.0234, allocations: 264.3 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.02343, allocations: 4 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.02457, allocations: 413.4 kB / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.02457, allocations: 0 / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.00262/0.02719, allocations: 0.742 MB / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002625/0.02746, allocations: 211.9 kB / 280.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.02785, allocations: 182.4 kB / 280.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.02793, allocations: 33.7 kB / 281 MB, free: 8.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.02813, allocations: 132.9 kB / 281.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.02832, allocations: 83.33 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.02854, allocations: 73.95 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003097/0.02885, allocations: 334.8 kB / 281.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.02941, allocations: 205.7 kB / 281.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.03013, allocations: 293.8 kB / 282.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.03129, allocations: 413.4 kB / 282.5 MB, free: 7.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.0313, allocations: 8.031 kB / 282.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001637/0.03293, allocations: 0.5462 MB / 283 MB, free: 6.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.03308, allocations: 93.09 kB / 283.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.03309, allocations: 0 / 283.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.03311, allocations: 4 kB / 283.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.03345, allocations: 48 kB / 283.2 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.03346, allocations: 4 kB / 283.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.03381, allocations: 39.7 kB / 283.2 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.03387, allocations: 20 kB / 283.2 MB, free: 6.332 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.000449/0.03432, allocations: 231.8 kB / 283.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.03444, allocations: 39.86 kB / 283.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.231e-05/0.03453, allocations: 30.64 kB / 283.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.03454, allocations: 0 / 283.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.03454, allocations: 0 / 283.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.03455, allocations: 7.938 kB / 283.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.03735, allocations: 0.8996 MB / 284.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.03735, allocations: 0 / 284.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.03758, allocations: 19.98 kB / 284.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.03759, allocations: 4 kB / 284.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.03763, allocations: 11.98 kB / 284.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.03764, allocations: 3.938 kB / 284.5 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.03764, allocations: 4 kB / 284.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.03907, allocations: 0.6855 MB / 285.2 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.03912, allocations: 27.72 kB / 285.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.03918, allocations: 19.98 kB / 285.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.03943, allocations: 19.98 kB / 285.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.03952, allocations: 23.95 kB / 285.2 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.03955, allocations: 12 kB / 285.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.03968, allocations: 132.3 kB / 285.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03968, allocations: 4 kB / 285.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.04004, allocations: 71.95 kB / 285.5 MB, free: 3.965 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.0001822/0.04022, allocations: 137.1 kB / 285.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.04129, allocations: 0.6547 MB / 286.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04129, allocations: 0 / 286.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.04189, allocations: 374 kB / 286.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.04265, allocations: 155.8 kB / 286.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.04385, allocations: 0.5948 MB / 287.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.04401, allocations: 133.7 kB / 287.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.04417, allocations: 45.91 kB / 287.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.04424, allocations: 28.5 kB / 287.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04424, allocations: 0 / 287.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of Templates: time 0.01016/0.0544, allocations: 4.508 MB / 292.1 MB, free: 13.28 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=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.529164090985432]