Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001747/0.001747, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 217.5 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003983/0.2668, allocations: 2.412 MB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2683, allocations: 0.7478 MB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2684, allocations: 7.938 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2685, allocations: 31.64 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.2687, allocations: 59.48 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.269, allocations: 99.77 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.2694, allocations: 271 kB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.2696, allocations: 83.55 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.2699, allocations: 127.6 kB / 436.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.2701, allocations: 111.5 kB / 436.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.2701, allocations: 24 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.2702, allocations: 31.94 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.2702, allocations: 47.84 kB / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.2704, allocations: 127.4 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.2708, allocations: 288.1 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2708, allocations: 0 / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2708, allocations: 0 / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2708, allocations: 4 kB / 436.9 MB, free: 2.301 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.001109/0.2719, allocations: 0.6001 MB / 437.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.272, allocations: 8.031 kB / 437.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.2722, allocations: 40.73 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2725, allocations: 183 kB / 437.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.2726, allocations: 83.73 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.2727, allocations: 20.38 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.2733, allocations: 260.2 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2733, allocations: 0 / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.2733, allocations: 4 kB / 438.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2733, allocations: 11.98 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.2739, allocations: 200.3 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2753, allocations: 0.7282 MB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.2759, allocations: 254.8 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.2764, allocations: 193 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2764, allocations: 4 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005423/0.2769, allocations: 312.3 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2769, allocations: 4 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001271/0.2782, allocations: 0.575 MB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.2783, allocations: 203.9 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.2785, allocations: 186.7 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.2786, allocations: 37.7 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2787, allocations: 140.8 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.2788, allocations: 83.31 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2789, allocations: 70.02 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.279, allocations: 334.8 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2793, allocations: 108.6 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.2796, allocations: 171.3 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.2802, allocations: 417.3 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2802, allocations: 0 / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007422/0.281, allocations: 437.3 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.2811, allocations: 97.09 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2811, allocations: 7.938 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2811, allocations: 0 / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.2813, allocations: 43.91 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2813, allocations: 4 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.2815, allocations: 39.92 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.2815, allocations: 12 kB / 442.7 MB, free: 12.11 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.0002698/0.2818, allocations: 235.7 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.2818, allocations: 28.05 kB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.2819, allocations: 26.59 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2819, allocations: 3.938 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2819, allocations: 0 / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2819, allocations: 11.97 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.2834, allocations: 0.9113 MB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2834, allocations: 4.031 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2836, allocations: 23.92 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2836, allocations: 0 / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2836, allocations: 12 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2836, allocations: 0 / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2836, allocations: 3.938 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2846, allocations: 0.6222 MB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.2846, allocations: 23.8 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.2847, allocations: 23.98 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2849, allocations: 19.98 kB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.285, allocations: 23.97 kB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.285, allocations: 15.98 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.2851, allocations: 135.2 kB / 444.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2851, allocations: 0 / 444.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.2855, allocations: 72 kB / 444.9 MB, free: 9.809 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.0001575/0.2856, allocations: 129.3 kB / 445 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008529/0.2865, allocations: 0.5161 MB / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2865, allocations: 0 / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.287, allocations: 326.8 kB / 445.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/0.2877, allocations: 145.1 kB / 446 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2887, allocations: 0.5582 MB / 446.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.2891, allocations: 0.7484 MB / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.2892, allocations: 27.44 kB / 447.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2892, allocations: 384 / 447.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of Templates: time 0.005568/0.2948, allocations: 3.155 MB / 450.5 MB, free: 4.121 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.135329691926017]