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.0008627/0.0008627, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001082/0.001082, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9274/0.9274, allocations: 177 MB / 205.9 MB, free: 4.461 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.393e-06/1.393e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.784e-05, allocations: 9.859 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002478/0.002496, allocations: 2.39 MB / 276.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.003442, allocations: 0.7105 MB / 277.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.003535, allocations: 4 kB / 277.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.00367, allocations: 32.38 kB / 277.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.003747, allocations: 62.58 kB / 277.3 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.004072, allocations: 107.6 kB / 277.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.004324, allocations: 274.9 kB / 277.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.004477, allocations: 75.66 kB / 277.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.004696, allocations: 171.5 kB / 277.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.004816, allocations: 97.55 kB / 278 MB, free: 364 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.004846, allocations: 20 kB / 278.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.004895, allocations: 28 kB / 278.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.004942, allocations: 47.83 kB / 278.1 MB, free: 268 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.005013, allocations: 92.27 kB / 278.2 MB, free: 176 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.005241, allocations: 207.3 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005243, allocations: 0.5938 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.005243, allocations: 0.6562 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.005247, allocations: 0 / 278.4 MB, free: 15.96 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.0006708/0.005918, allocations: 0.6999 MB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.00595, allocations: 8.031 kB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.006087, allocations: 48.8 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.006277, allocations: 188.2 kB / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.006336, allocations: 67.97 kB / 279.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.00636, allocations: 28.38 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.006654, allocations: 270.9 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006662, allocations: 4.125 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.006679, allocations: 12.12 kB / 279.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.006685, allocations: 4 kB / 279.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.006804, allocations: 140.8 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.007498, allocations: 0.6587 MB / 280.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.007705, allocations: 207.2 kB / 280.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.007847, allocations: 174.6 kB / 280.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.007864, allocations: 7.938 kB / 280.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.008101, allocations: 344.7 kB / 281.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.008102, allocations: 0 / 281.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005903/0.008692, allocations: 0.5115 MB / 281.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.008785, allocations: 211.8 kB / 282 MB, free: 12.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.008909, allocations: 238.5 kB / 282.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.00893, allocations: 37.7 kB / 282.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.00901, allocations: 183.6 kB / 282.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.009058, allocations: 83.34 kB / 282.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.009133, allocations: 75.64 kB / 282.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.009295, allocations: 0.5118 MB / 283.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.009384, allocations: 125.8 kB / 283.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.009527, allocations: 237.6 kB / 283.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.009725, allocations: 306.4 kB / 283.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.009727, allocations: 4.031 kB / 283.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000311/0.01004, allocations: 414.4 kB / 284.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.01009, allocations: 89.09 kB / 284.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01009, allocations: 7.984 kB / 284.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.0101, allocations: 4 kB / 284.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.01022, allocations: 43.92 kB / 284.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01023, allocations: 7.984 kB / 284.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.01032, allocations: 27.98 kB / 284.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.01034, allocations: 15.94 kB / 284.3 MB, free: 9.453 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.0001542/0.01049, allocations: 270.4 kB / 284.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.01053, allocations: 39.86 kB / 284.6 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.01057, allocations: 18.66 kB / 284.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01057, allocations: 4 kB / 284.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01057, allocations: 0 / 284.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01058, allocations: 7.984 kB / 284.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.01127, allocations: 0.7682 MB / 285.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01127, allocations: 4 kB / 285.4 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.01135, allocations: 27.92 kB / 285.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01135, allocations: 3.984 kB / 285.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01137, allocations: 7.984 kB / 285.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01137, allocations: 4 kB / 285.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01137, allocations: 0 / 285.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.01181, allocations: 0.5996 MB / 286.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.01183, allocations: 23.8 kB / 286.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.01187, allocations: 19.92 kB / 286.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01197, allocations: 19.98 kB / 286.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.01202, allocations: 19.97 kB / 286.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.01204, allocations: 15.97 kB / 286.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.0121, allocations: 156.2 kB / 286.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0121, allocations: 3.938 kB / 286.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01233, allocations: 79.95 kB / 286.4 MB, free: 7.242 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 0.0001114/0.01245, allocations: 125.2 kB / 286.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.0128, allocations: 0.5063 MB / 287 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.0128, allocations: 0 / 287 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.01297, allocations: 294.5 kB / 287.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.01338, allocations: 164.2 kB / 287.5 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.01418, allocations: 0.5367 MB / 288 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.01424, allocations: 84.81 kB / 288.1 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.01433, allocations: 21.94 kB / 288.1 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.01454, allocations: 162.1 kB / 288.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01454, allocations: 0 / 288.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of Templates: time 0.006345/0.02089, allocations: 4.916 MB / 293.2 MB, free: 388 kB / 266.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.7449225182645023]