Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.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.001315/0.001315, 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.002045/0.002045, allocations: 217.7 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.503/1.503, allocations: 230.5 MB / 258.1 MB, free: 8.023 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.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2523, allocations: 53.41 MB / 432.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003725/0.256, allocations: 2.029 MB / 434.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2571, allocations: 0.6505 MB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2573, allocations: 11.88 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.2574, allocations: 35.59 kB / 435.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.2575, allocations: 43.59 kB / 435.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.2578, allocations: 87.78 kB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.2581, allocations: 211.1 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2582, allocations: 48.56 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.2584, allocations: 75.7 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2585, allocations: 87.44 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.2586, allocations: 12 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.2586, allocations: 20 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.2587, allocations: 35.83 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.2587, allocations: 83.48 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.259, allocations: 180.3 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.259, allocations: 4 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.259, allocations: 0 / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.259, allocations: 0 / 436 MB, free: 3.184 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007118/0.2597, allocations: 437.2 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2597, allocations: 8.031 kB / 436.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.26, allocations: 40.78 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2603, allocations: 194 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2603, allocations: 8.375 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.2604, allocations: 12.38 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.2607, allocations: 164.5 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2607, allocations: 0 / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2607, allocations: 4 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2607, allocations: 4 kB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.2609, allocations: 95.81 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.2619, allocations: 0.6051 MB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.2622, allocations: 135.7 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.2623, allocations: 54.67 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2623, allocations: 4 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2624, allocations: 34.56 kB / 437.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.2624, allocations: 0 / 437.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005075/0.2629, allocations: 181.3 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.2629, allocations: 106.8 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.2632, allocations: 233.9 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2632, allocations: 33.7 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.2633, allocations: 140.1 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.2634, allocations: 51.58 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.2634, allocations: 37.7 kB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2636, allocations: 330.8 kB / 438.9 MB, free: 92 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2637, allocations: 35.98 kB / 438.9 MB, free: 56 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2639, allocations: 101.5 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.2642, allocations: 147.2 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2642, allocations: 0 / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003519/0.2645, allocations: 189.2 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2645, allocations: 4 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2645, allocations: 4.188 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2646, allocations: 4 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2647, allocations: 35.97 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2647, allocations: 3.938 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2648, allocations: 19.89 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2648, allocations: 11.98 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001164/0.265, allocations: 129.7 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.265, allocations: 23.86 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.2654, allocations: 182.9 kB / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2654, allocations: 4 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2655, allocations: 0 / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2655, allocations: 3.984 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.2659, allocations: 252.4 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2659, allocations: 0 / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.2661, allocations: 31.98 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2661, allocations: 3.938 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.2661, allocations: 12 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2661, allocations: 3.938 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2662, allocations: 3.984 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.2667, allocations: 465.7 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.2668, allocations: 31.88 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.2668, allocations: 4 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.267, allocations: 7.984 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.267, allocations: 20.02 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.267, allocations: 4 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.2672, allocations: 181.1 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2672, allocations: 0 / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.2676, allocations: 32 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001018/0.2677, allocations: 95.19 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.268, allocations: 119.9 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.268, allocations: 4 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.2681, allocations: 60.2 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2685, allocations: 16.5 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2697, allocations: 0.6492 MB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.2701, allocations: 0.7553 MB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.2702, allocations: 19.44 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2702, allocations: 0 / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Templates: time 0.004168/0.2743, allocations: 2.182 MB / 444.7 MB, free: 10.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.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: 6.974873156053945]