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.002567/0.002567, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.00274/0.00274, allocations: 153.5 kB / 24.27 MB, free: 168 kB / 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 1.526/1.526, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.518e-05, allocations: 6.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004179/0.004204, allocations: 2.33 MB / 269.7 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.005562, allocations: 0.6503 MB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.005662, allocations: 4 kB / 270.3 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.005819, allocations: 35.66 kB / 270.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.00594, allocations: 55.48 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.006303, allocations: 95.64 kB / 270.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.006666, allocations: 266.9 kB / 270.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.006885, allocations: 83.58 kB / 270.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.007182, allocations: 171.6 kB / 271 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.007368, allocations: 87.77 kB / 271.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.007426, allocations: 20 kB / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.007477, allocations: 24 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.007556, allocations: 59.75 kB / 271.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.007696, allocations: 83.83 kB / 271.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.008106, allocations: 291.1 kB / 271.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008109, allocations: 0 / 271.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.00811, allocations: 0 / 271.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.008115, allocations: 4 kB / 271.6 MB, free: 2.473 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.001201/0.009316, allocations: 0.7036 MB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.009349, allocations: 12.92 kB / 272.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.009457, allocations: 40.8 kB / 272.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.009779, allocations: 192.8 kB / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.009879, allocations: 79.95 kB / 272.6 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.009916, allocations: 16.38 kB / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.01056, allocations: 333.9 kB / 272.9 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.01057, allocations: 4.188 kB / 272.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.0106, allocations: 8.125 kB / 272.9 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.01061, allocations: 8 kB / 272.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.01116, allocations: 247.8 kB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01266, allocations: 0.7288 MB / 273.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.01332, allocations: 295.2 kB / 274.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.01379, allocations: 258.4 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.01382, allocations: 4 kB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006637/0.01449, allocations: 416.9 kB / 274.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.492e-06/0.01449, allocations: 0 / 274.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001366/0.01585, allocations: 0.6792 MB / 275.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004236/0.01628, allocations: 203.9 kB / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.01655, allocations: 261.8 kB / 276 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.0166, allocations: 37.7 kB / 276 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.01675, allocations: 187.5 kB / 276.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.01685, allocations: 95.34 kB / 276.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.01701, allocations: 87.69 kB / 276.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.01732, allocations: 0.5196 MB / 276.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.01761, allocations: 169.8 kB / 277.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.01801, allocations: 289.7 kB / 277.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.0186, allocations: 378.5 kB / 277.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0186, allocations: 0 / 277.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000822/0.01942, allocations: 494.6 kB / 278.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.01952, allocations: 101.1 kB / 278.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01953, allocations: 0 / 278.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01955, allocations: 8.094 kB / 278.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.01976, allocations: 43.92 kB / 278.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01977, allocations: 4 kB / 278.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.01995, allocations: 43.64 kB / 278.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.01998, allocations: 12 kB / 278.4 MB, free: 11 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.0002704/0.02025, allocations: 270.5 kB / 278.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.02032, allocations: 47.84 kB / 278.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.02038, allocations: 22.66 kB / 278.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.02038, allocations: 0 / 278.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.02039, allocations: 0 / 278.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02039, allocations: 3.938 kB / 278.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.02198, allocations: 0.9369 MB / 279.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02199, allocations: 0 / 279.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.0221, allocations: 23.92 kB / 279.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02211, allocations: 0 / 279.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.02214, allocations: 15.98 kB / 279.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.02214, allocations: 3.938 kB / 279.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.02215, allocations: 3.984 kB / 279.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.02326, allocations: 0.702 MB / 280.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.02331, allocations: 35.72 kB / 280.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.02336, allocations: 12 kB / 280.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.02357, allocations: 19.98 kB / 280.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.02366, allocations: 27.95 kB / 280.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.02369, allocations: 11.98 kB / 280.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.02385, allocations: 180.1 kB / 280.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02385, allocations: 0 / 280.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.02419, allocations: 83.89 kB / 280.8 MB, free: 8.473 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.0001831/0.02437, allocations: 125.2 kB / 280.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009734/0.02535, allocations: 0.6116 MB / 281.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02535, allocations: 8 kB / 281.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.0259, allocations: 373.7 kB / 281.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.02663, allocations: 157.2 kB / 282.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.02798, allocations: 0.5611 MB / 282.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.02814, allocations: 134 kB / 282.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.02829, allocations: 53.83 kB / 282.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.02835, allocations: 20.5 kB / 282.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02835, allocations: 0 / 282.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Templates: time 0.009994/0.03835, allocations: 4.528 MB / 287.4 MB, free: 1.84 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.4258287670090795]