Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009921/0.0009921, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001079/0.001079, allocations: 165.5 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9965/0.9965, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.535e-05/4.791e-05, allocations: 2.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003296/0.003344, allocations: 2.335 MB / 253.4 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.0048, allocations: 0.7058 MB / 254.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.004931, allocations: 7.938 kB / 254.1 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.005129, allocations: 27.7 kB / 254.1 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.005258, allocations: 59.44 kB / 254.2 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.005689, allocations: 103.6 kB / 254.3 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.006048, allocations: 266.9 kB / 254.5 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.006304, allocations: 79.66 kB / 254.6 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.006632, allocations: 167.7 kB / 254.8 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.006781, allocations: 87.77 kB / 254.9 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.006825, allocations: 20 kB / 254.9 MB, free: 3.637 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.225e-05/0.006857, allocations: 24 kB / 254.9 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.00692, allocations: 51.77 kB / 255 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.00703, allocations: 87.81 kB / 255 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.0073, allocations: 203.3 kB / 255.2 MB, free: 3.277 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007303, allocations: 0 / 255.2 MB, free: 3.277 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007305, allocations: 4 kB / 255.2 MB, free: 3.273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.007311, allocations: 0 / 255.2 MB, free: 3.273 MB / 234.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.001023/0.008334, allocations: 0.6884 MB / 255.9 MB, free: 2.531 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.008388, allocations: 11.98 kB / 255.9 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.008515, allocations: 44.8 kB / 256 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.00885, allocations: 188.8 kB / 256.2 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.00897, allocations: 75.97 kB / 256.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.009003, allocations: 24.38 kB / 256.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.009813, allocations: 306.9 kB / 256.6 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.009824, allocations: 192 / 256.6 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.009848, allocations: 12.12 kB / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.009859, allocations: 4 kB / 256.6 MB, free: 1.812 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.01005, allocations: 183.9 kB / 256.8 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.01098, allocations: 0.6779 MB / 257.4 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.01133, allocations: 255 kB / 257.7 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.01156, allocations: 203.2 kB / 257.9 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.01158, allocations: 4 kB / 257.9 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.01197, allocations: 376.8 kB / 258.3 MB, free: 15.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.01198, allocations: 0 / 258.3 MB, free: 15.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006735/0.01265, allocations: 0.5933 MB / 258.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.01275, allocations: 203.9 kB / 259.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.01291, allocations: 241.8 kB / 259.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.01293, allocations: 33.7 kB / 259.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01304, allocations: 179.6 kB / 259.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.01311, allocations: 91.3 kB / 259.6 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.01321, allocations: 71.69 kB / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01337, allocations: 0.5079 MB / 260.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.01349, allocations: 141.8 kB / 260.3 MB, free: 13.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.01366, allocations: 246 kB / 260.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.01396, allocations: 330.6 kB / 260.9 MB, free: 13.1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.01397, allocations: 0 / 260.9 MB, free: 13.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004164/0.01438, allocations: 447.4 kB / 261.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.01445, allocations: 97.09 kB / 261.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01446, allocations: 4 kB / 261.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.01448, allocations: 4 kB / 261.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.01464, allocations: 39.92 kB / 261.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.01465, allocations: 7.984 kB / 261.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01477, allocations: 35.88 kB / 261.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.01479, allocations: 16 kB / 261.5 MB, free: 12.4 MB / 250.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.000179/0.01496, allocations: 270.5 kB / 261.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.01501, allocations: 35.86 kB / 261.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.01504, allocations: 18.66 kB / 261.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01505, allocations: 4 kB / 261.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01505, allocations: 0 / 261.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.01506, allocations: 11.92 kB / 261.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.01587, allocations: 0.8558 MB / 262.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01588, allocations: 0 / 262.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.01596, allocations: 19.98 kB / 262.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.01597, allocations: 7.984 kB / 262.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.01599, allocations: 8 kB / 262.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.01599, allocations: 3.938 kB / 262.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01599, allocations: 32 / 262.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.01681, allocations: 0.6512 MB / 263.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.01685, allocations: 23.78 kB / 263.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.01689, allocations: 15.98 kB / 263.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.017, allocations: 19.98 kB / 263.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.01707, allocations: 23.95 kB / 263.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.01709, allocations: 11.98 kB / 263.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.01717, allocations: 163.2 kB / 263.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01717, allocations: 0 / 263.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01742, allocations: 83.89 kB / 263.7 MB, free: 10.04 MB / 250.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.0001414/0.01757, allocations: 129.2 kB / 263.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.01803, allocations: 0.5451 MB / 264.4 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01803, allocations: 0 / 264.4 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.01825, allocations: 330 kB / 264.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.01869, allocations: 162.3 kB / 264.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01972, allocations: 0.5601 MB / 265.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.01978, allocations: 80.83 kB / 265.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.01989, allocations: 45.89 kB / 265.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.01995, allocations: 24.48 kB / 265.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of SimCode: time 1.163e-06/0.01995, allocations: 0 / 265.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of Templates: time 0.007094/0.02704, allocations: 4.764 MB / 270.3 MB, free: 3.273 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.884851271752268]