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.008052/0.008052, allocations: 97.47 kB / 21.92 MB, free: 5.203 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.002193/0.002193, allocations: 206.7 kB / 25.22 MB, free: 3.137 MB / 14.72 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 1.464/1.464, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 55.86 kB / 348.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2542, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003321/0.2575, allocations: 2.222 MB / 399.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2587, allocations: 0.6782 MB / 400.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2588, allocations: 2.906 kB / 400.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2589, allocations: 31.8 kB / 400.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.259, allocations: 57.41 kB / 400.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.2594, allocations: 92.88 kB / 400.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.2597, allocations: 273.2 kB / 400.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2599, allocations: 73.34 kB / 401 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.2601, allocations: 117.1 kB / 401.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2603, allocations: 100.8 kB / 401.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.2603, allocations: 26.31 kB / 401.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.2604, allocations: 21.97 kB / 401.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.2604, allocations: 57.41 kB / 401.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.2605, allocations: 104.8 kB / 401.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.2609, allocations: 282.4 kB / 401.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2609, allocations: 0.7031 kB / 401.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2609, allocations: 0 / 401.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.2609, allocations: 0 / 401.7 MB, free: 6.836 MB / 318.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.001037/0.262, allocations: 0.5958 MB / 402.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.262, allocations: 17.58 kB / 402.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.2621, allocations: 31.44 kB / 402.4 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.2624, allocations: 182.3 kB / 402.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.2625, allocations: 73.92 kB / 402.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.2625, allocations: 20.97 kB / 402.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.2631, allocations: 356.3 kB / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2631, allocations: 1.25 kB / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.2632, allocations: 6.75 kB / 403 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2632, allocations: 4.656 kB / 403 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.2637, allocations: 275.6 kB / 403.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2648, allocations: 0.6374 MB / 403.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.2654, allocations: 341 kB / 404.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/0.2658, allocations: 261.9 kB / 404.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2658, allocations: 6.203 kB / 404.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.2664, allocations: 410.5 kB / 404.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.2664, allocations: 0 / 404.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.00121/0.2676, allocations: 0.7354 MB / 405.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.2676, allocations: 208.9 kB / 405.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2678, allocations: 180.6 kB / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2678, allocations: 36.08 kB / 406 MB, free: 3.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.2679, allocations: 133.8 kB / 406.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2679, allocations: 83.38 kB / 406.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.268, allocations: 65.06 kB / 406.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.2681, allocations: 337.6 kB / 406.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.2684, allocations: 201.5 kB / 406.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.2687, allocations: 297.5 kB / 407.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.2692, allocations: 407.6 kB / 407.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2692, allocations: 0 / 407.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000693/0.2699, allocations: 0.5431 MB / 408.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.2699, allocations: 95.3 kB / 408.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2699, allocations: 2.469 kB / 408.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.27, allocations: 7.75 kB / 408.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.2701, allocations: 40.58 kB / 408.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.2702, allocations: 3.469 kB / 408.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2703, allocations: 37.73 kB / 408.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.2704, allocations: 10.22 kB / 408.3 MB, free: 2.289 MB / 318.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.0001856/0.2706, allocations: 240.1 kB / 408.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.2706, allocations: 30.2 kB / 408.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.2706, allocations: 19.95 kB / 408.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2706, allocations: 5.781 kB / 408.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2707, allocations: 1.875 kB / 408.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2707, allocations: 1.453 kB / 408.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.2719, allocations: 0.9016 MB / 409.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2719, allocations: 1.375 kB / 409.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.272, allocations: 23.62 kB / 409.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.272, allocations: 5.312 kB / 409.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2721, allocations: 11.03 kB / 409.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2721, allocations: 1.984 kB / 409.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2721, allocations: 1.375 kB / 409.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008663/0.2729, allocations: 0.6722 MB / 410.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.273, allocations: 27.48 kB / 410.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.273, allocations: 16.27 kB / 410.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2732, allocations: 20.83 kB / 410.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.2733, allocations: 31.72 kB / 410.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.2733, allocations: 13.52 kB / 410.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.092e-05/0.2734, allocations: 129.7 kB / 410.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2734, allocations: 1.125 kB / 410.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.2738, allocations: 77.23 kB / 410.5 MB, free: 0.9297 MB / 318.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.0001207/0.2739, allocations: 131.5 kB / 410.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.2747, allocations: 0.6609 MB / 411.3 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2747, allocations: 0 / 411.3 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.2751, allocations: 368.6 kB / 411.6 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.2758, allocations: 151.2 kB / 411.8 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2769, allocations: 0.625 MB / 412.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.2771, allocations: 142.4 kB / 412.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.2771, allocations: 21.7 kB / 412.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2771, allocations: 0 / 412.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Templates: time 0.005566/0.2827, allocations: 3.166 MB / 415.7 MB, free: 14.03 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.365956473629922]