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.001527/0.001527, allocations: 107 kB / 19.8 MB, free: 2.5 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.001764/0.001764, allocations: 216.5 kB / 23 MB, free: 5.574 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.569/1.569, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.002738/0.002738, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3181, allocations: 53.33 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004168/0.3223, allocations: 2.396 MB / 432.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3239, allocations: 0.7478 MB / 433 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.324, allocations: 7.938 kB / 433 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3242, allocations: 31.72 kB / 433 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3243, allocations: 63.48 kB / 433.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.3248, allocations: 103.7 kB / 433.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.3251, allocations: 259 kB / 433.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.3253, allocations: 79.03 kB / 433.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.3256, allocations: 123.6 kB / 433.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.3258, allocations: 111.6 kB / 433.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.3258, allocations: 24 kB / 433.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.3259, allocations: 24 kB / 433.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.326, allocations: 63.7 kB / 433.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3261, allocations: 123.4 kB / 433.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.3265, allocations: 284.1 kB / 434.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3265, allocations: 0 / 434.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3265, allocations: 3.938 kB / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3265, allocations: 0 / 434.2 MB, free: 3.082 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.001188/0.3277, allocations: 0.6715 MB / 434.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3277, allocations: 11.97 kB / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.3279, allocations: 44.73 kB / 435 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.3284, allocations: 244 kB / 435.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.3284, allocations: 50.05 kB / 435.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.3285, allocations: 28.36 kB / 435.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.3291, allocations: 252.3 kB / 435.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3291, allocations: 0 / 435.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.3291, allocations: 8 kB / 435.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3291, allocations: 4 kB / 435.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.3296, allocations: 212.2 kB / 435.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3311, allocations: 0.7642 MB / 436.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.3317, allocations: 259.2 kB / 436.7 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.3321, allocations: 188 kB / 436.9 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3321, allocations: 4 kB / 436.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/0.3327, allocations: 316.8 kB / 437.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.552e-06/0.3327, allocations: 0 / 437.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001281/0.334, allocations: 0.5789 MB / 437.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.3341, allocations: 203.9 kB / 438 MB, free: 15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3343, allocations: 179.4 kB / 438.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3344, allocations: 41.7 kB / 438.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3345, allocations: 132.9 kB / 438.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.3345, allocations: 95.23 kB / 438.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3347, allocations: 66.02 kB / 438.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3348, allocations: 338.8 kB / 438.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.3351, allocations: 104.6 kB / 439 MB, free: 14.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.3354, allocations: 175.3 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.336, allocations: 405.4 kB / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.336, allocations: 0 / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000769/0.3367, allocations: 445.9 kB / 440 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.574e-05/0.3368, allocations: 97.19 kB / 440.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3368, allocations: 11.92 kB / 440.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3368, allocations: 4 kB / 440.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3371, allocations: 31.92 kB / 440.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3371, allocations: 7.938 kB / 440.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3373, allocations: 39.83 kB / 440.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.3373, allocations: 12 kB / 440.2 MB, free: 12.7 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.0002733/0.3376, allocations: 240.8 kB / 440.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3376, allocations: 27.86 kB / 440.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.3377, allocations: 26.58 kB / 440.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3377, allocations: 0 / 440.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3377, allocations: 0 / 440.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3377, allocations: 4 kB / 440.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3393, allocations: 0.9395 MB / 441.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3393, allocations: 0 / 441.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3394, allocations: 23.92 kB / 441.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.3394, allocations: 0 / 441.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.3394, allocations: 20.2 kB / 441.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3394, allocations: 0 / 441.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3394, allocations: 3.938 kB / 441.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3406, allocations: 0.6282 MB / 442.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.3407, allocations: 104.9 kB / 442.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.3407, allocations: 16 kB / 442.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.341, allocations: 23.97 kB / 442.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3411, allocations: 19.97 kB / 442.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.3411, allocations: 8 kB / 442.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3413, allocations: 139.1 kB / 442.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3413, allocations: 4 kB / 442.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.3416, allocations: 79.94 kB / 442.5 MB, free: 10.27 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.0002129/0.3419, allocations: 129 kB / 442.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.3428, allocations: 0.5175 MB / 443.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3428, allocations: 0 / 443.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.3433, allocations: 310.6 kB / 443.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.3441, allocations: 147.2 kB / 443.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3452, allocations: 0.54 MB / 444.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.3456, allocations: 0.7522 MB / 444.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.3458, allocations: 53.89 kB / 444.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3459, allocations: 19.44 kB / 444.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3459, allocations: 0 / 444.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Templates: time 0.009447/0.3553, allocations: 4.366 MB / 449.3 MB, free: 3.379 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/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_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: 4.870488736778498]