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.001892/0.001892, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002341/0.002341, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 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 0.001846/0.001846, allocations: 47.94 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3029, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004166/0.3071, allocations: 2.276 MB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3086, allocations: 0.6934 MB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3087, allocations: 7.938 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3089, allocations: 35.64 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.309, allocations: 59.42 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.3094, allocations: 107.8 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.3097, allocations: 259.1 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.31, allocations: 75.31 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.3102, allocations: 127.6 kB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3104, allocations: 107.5 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.3105, allocations: 20 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.3105, allocations: 24 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.3106, allocations: 51.84 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3107, allocations: 111.5 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.3111, allocations: 286.6 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3111, allocations: 3.938 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3111, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3112, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 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.001146/0.3123, allocations: 0.5923 MB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3123, allocations: 16.03 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.3125, allocations: 40.73 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.3129, allocations: 182.2 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.313, allocations: 83.73 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.313, allocations: 20.36 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3137, allocations: 357.3 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3137, allocations: 7.938 kB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3137, allocations: 11.98 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3137, allocations: 4 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.3143, allocations: 271.7 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.3156, allocations: 0.6313 MB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.3163, allocations: 338.5 kB / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.3168, allocations: 252.4 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3168, allocations: 8 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/0.3175, allocations: 415.4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.3175, allocations: 0 / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001428/0.3189, allocations: 0.7352 MB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.319, allocations: 203.9 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3192, allocations: 182.4 kB / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.3193, allocations: 33.7 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3194, allocations: 136.8 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.3195, allocations: 91.3 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3196, allocations: 70.02 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3198, allocations: 330.8 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.3201, allocations: 201.8 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.3205, allocations: 293.9 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/0.3211, allocations: 422.7 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3211, allocations: 0 / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008382/0.322, allocations: 0.5268 MB / 442.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/0.322, allocations: 93.09 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3221, allocations: 7.984 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3221, allocations: 7.875 kB / 443 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3223, allocations: 43.91 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3223, allocations: 8.094 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3225, allocations: 39.77 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.3225, allocations: 12 kB / 443.1 MB, free: 11.37 MB / 350.1 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.0002668/0.3228, allocations: 239.7 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.3228, allocations: 27.86 kB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.3229, allocations: 22.66 kB / 443.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3229, allocations: 7.938 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3229, allocations: 0 / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3229, allocations: 3.984 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.3244, allocations: 0.8985 MB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3244, allocations: 4.031 kB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3245, allocations: 23.92 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.3246, allocations: 7.938 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3246, allocations: 8 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3246, allocations: 0 / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3246, allocations: 0 / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3257, allocations: 0.6846 MB / 445.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.3257, allocations: 19.83 kB / 445.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.3258, allocations: 20 kB / 445.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.326, allocations: 27.84 kB / 445.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.3261, allocations: 23.92 kB / 445.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.3261, allocations: 12.19 kB / 445.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3262, allocations: 136.3 kB / 445.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3262, allocations: 3.938 kB / 445.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.3266, allocations: 75.94 kB / 445.4 MB, free: 9.008 MB / 350.1 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.0001658/0.3268, allocations: 129.3 kB / 445.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3278, allocations: 0.6624 MB / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3278, allocations: 0 / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.3283, allocations: 370 kB / 446.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.329, allocations: 142.8 kB / 446.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3302, allocations: 0.6282 MB / 447.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.3304, allocations: 137.6 kB / 447.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.3304, allocations: 35.42 kB / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3304, allocations: 0 / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of Templates: time 0.006454/0.3369, allocations: 3.169 MB / 450.6 MB, free: 3.602 MB / 350.1 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/jenkins1/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/jenkins1/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: 7.290747357066721]