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.0008155/0.0008155, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00404/0.00404, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 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 0.8672/0.8672, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.993e-06/1.993e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.592e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002386/0.002412, allocations: 2.29 MB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003438, allocations: 0.7087 MB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003545, allocations: 4 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.003678, allocations: 31.66 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.003759, allocations: 63.44 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.004127, allocations: 103.7 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.004388, allocations: 270.8 kB / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.004567, allocations: 79.59 kB / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.004843, allocations: 159.7 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004962, allocations: 87.77 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.004994, allocations: 24 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.005048, allocations: 35.98 kB / 329.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.005097, allocations: 55.75 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.005175, allocations: 79.83 kB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.005473, allocations: 307 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005476, allocations: 0 / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005478, allocations: 0 / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005483, allocations: 0 / 330.1 MB, free: 11.12 MB / 298.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.0007551/0.006238, allocations: 0.6028 MB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006273, allocations: 12.03 kB / 330.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.006415, allocations: 40.78 kB / 330.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.006687, allocations: 185.3 kB / 330.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.006761, allocations: 71.97 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.006784, allocations: 16.38 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.007185, allocations: 358.2 kB / 331.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.007194, allocations: 192 / 331.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.007215, allocations: 12.12 kB / 331.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.007223, allocations: 8 kB / 331.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.007519, allocations: 271.8 kB / 331.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.008306, allocations: 0.6316 MB / 332.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.008672, allocations: 346.4 kB / 332.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.008933, allocations: 260.3 kB / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.008948, allocations: 4 kB / 332.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/0.009291, allocations: 416.6 kB / 333.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.009293, allocations: 0 / 333.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007253/0.01002, allocations: 0.7352 MB / 334 MB, free: 6.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.0101, allocations: 211.9 kB / 334.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01022, allocations: 182.4 kB / 334.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01024, allocations: 33.7 kB / 334.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.01031, allocations: 140.8 kB / 334.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.01036, allocations: 79.38 kB / 334.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.01043, allocations: 70.02 kB / 334.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.01051, allocations: 334.8 kB / 335.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.01067, allocations: 205.7 kB / 335.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.01085, allocations: 285.9 kB / 335.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.01117, allocations: 417.5 kB / 336 MB, free: 4.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01117, allocations: 0 / 336 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004309/0.0116, allocations: 0.5306 MB / 336.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.01168, allocations: 93.09 kB / 336.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01169, allocations: 7.984 kB / 336.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.0117, allocations: 8.094 kB / 336.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01182, allocations: 35.92 kB / 336.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01182, allocations: 4 kB / 336.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.01191, allocations: 43.7 kB / 336.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01193, allocations: 12 kB / 336.7 MB, free: 4.004 MB / 298.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.0001476/0.01207, allocations: 239.7 kB / 336.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.0121, allocations: 27.86 kB / 336.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.01213, allocations: 26.64 kB / 337 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01214, allocations: 0 / 337 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01214, allocations: 0 / 337 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.01215, allocations: 7.938 kB / 337 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.01299, allocations: 0.8997 MB / 337.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.013, allocations: 0 / 337.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.01305, allocations: 19.98 kB / 337.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01306, allocations: 7.984 kB / 337.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.01307, allocations: 11.98 kB / 337.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01308, allocations: 3.938 kB / 337.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01308, allocations: 0 / 337.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.0136, allocations: 0.6857 MB / 338.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.01362, allocations: 23.78 kB / 338.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.01366, allocations: 15.98 kB / 338.6 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01376, allocations: 23.92 kB / 338.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.01382, allocations: 23.97 kB / 338.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.01384, allocations: 19.98 kB / 338.7 MB, free: 1.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.01391, allocations: 128.3 kB / 338.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01391, allocations: 0 / 338.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.01413, allocations: 75.95 kB / 338.9 MB, free: 1.645 MB / 298.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.0001257/0.01425, allocations: 133.4 kB / 339 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.01487, allocations: 0.6589 MB / 339.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01487, allocations: 0 / 339.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.01512, allocations: 370 kB / 340.1 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.01553, allocations: 146 kB / 340.2 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.01622, allocations: 0.6059 MB / 340.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.721e-05/0.01631, allocations: 137.7 kB / 340.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.01636, allocations: 20.5 kB / 341 MB, free: 15.42 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01636, allocations: 0 / 341 MB, free: 15.42 MB / 314.7 MB Notification: Performance of Templates: time 0.003608/0.01997, allocations: 3.181 MB / 344.1 MB, free: 12.26 MB / 314.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.075725729577243]