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.0009686/0.0009686, allocations: 75.7 kB / 21.69 MB, free: 2.844 MB / 18.57 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.0009673/0.0009673, allocations: 166.6 kB / 24.99 MB, free: 9.328 MB / 18.57 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 0.9852/0.9852, allocations: 177 MB / 205.2 MB, free: 5.137 MB / 186.7 MB " [Timeout remaining time 179] 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 1.253e-06/1.253e-06, allocations: 0 / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.57e-05, allocations: 2.312 kB / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002935/0.002951, allocations: 2.403 MB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004059, allocations: 0.7127 MB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.004173, allocations: 7.938 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.004312, allocations: 27.7 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.004395, allocations: 67.38 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.004812, allocations: 103.7 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.0051, allocations: 274.9 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.005276, allocations: 79.52 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.005551, allocations: 171.6 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.00568, allocations: 95.69 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.00571, allocations: 24 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.005765, allocations: 24 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.005817, allocations: 51.83 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.005908, allocations: 87.75 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.006176, allocations: 211.3 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006178, allocations: 0 / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006179, allocations: 3.938 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.006184, allocations: 0 / 277.3 MB, free: 13.11 MB / 266.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.0007575/0.006942, allocations: 0.6923 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.006975, allocations: 11.98 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.007131, allocations: 56.73 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.007345, allocations: 188.2 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.007423, allocations: 75.97 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.007446, allocations: 16.38 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.007795, allocations: 314.9 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007803, allocations: 192 / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.007824, allocations: 12.12 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.007832, allocations: 4 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.008007, allocations: 180.3 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.008784, allocations: 0.6854 MB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.009054, allocations: 251 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.009245, allocations: 203.2 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.009261, allocations: 11.98 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.009592, allocations: 372.8 kB / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.009594, allocations: 0 / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007686/0.01036, allocations: 0.6012 MB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.01046, allocations: 199.9 kB / 281.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.01064, allocations: 234.6 kB / 281.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.01067, allocations: 37.7 kB / 281.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.01076, allocations: 183.6 kB / 281.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.01083, allocations: 83.36 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.01093, allocations: 83.67 kB / 281.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004084/0.01134, allocations: 0.504 MB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01145, allocations: 141.8 kB / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.01159, allocations: 257.6 kB / 282.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.0118, allocations: 327.1 kB / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0118, allocations: 0 / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003197/0.01212, allocations: 443.5 kB / 283.4 MB, free: 6.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.01217, allocations: 97.09 kB / 283.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01217, allocations: 3.938 kB / 283.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01219, allocations: 7.938 kB / 283.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01232, allocations: 47.91 kB / 283.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01232, allocations: 4 kB / 283.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.01241, allocations: 35.77 kB / 283.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01243, allocations: 16 kB / 283.6 MB, free: 6.207 MB / 266.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.0001375/0.01256, allocations: 266.5 kB / 283.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.0126, allocations: 35.91 kB / 283.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.01263, allocations: 22.64 kB / 283.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.01264, allocations: 4 kB / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01264, allocations: 0 / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01265, allocations: 3.938 kB / 283.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.01331, allocations: 0.8588 MB / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01331, allocations: 0 / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.01337, allocations: 19.98 kB / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01337, allocations: 4 kB / 284.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.01339, allocations: 8 kB / 284.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01339, allocations: 3.938 kB / 284.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01339, allocations: 0 / 284.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.01381, allocations: 0.6426 MB / 285.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.01383, allocations: 35.72 kB / 285.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.01387, allocations: 16.03 kB / 285.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01397, allocations: 19.98 kB / 285.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.01402, allocations: 19.95 kB / 285.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.01404, allocations: 12 kB / 285.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.547e-05/0.0141, allocations: 160.2 kB / 285.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0141, allocations: 0 / 285.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.01432, allocations: 75.95 kB / 285.8 MB, free: 3.867 MB / 266.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 9.838e-05/0.01442, allocations: 141.1 kB / 285.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.0148, allocations: 0.5502 MB / 286.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0148, allocations: 4 kB / 286.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.01499, allocations: 330.5 kB / 286.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.01538, allocations: 160.1 kB / 287 MB, free: 2.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.0162, allocations: 0.5564 MB / 287.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.01625, allocations: 84.83 kB / 287.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.01634, allocations: 45.89 kB / 287.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.01638, allocations: 20.5 kB / 287.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01638, allocations: 4 kB / 287.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005698/0.02208, allocations: 4.513 MB / 292.2 MB, free: 13.39 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.842551607871428]