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.001627/0.001627, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002012/0.002012, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.537/1.537, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.001966/0.001966, allocations: 67.91 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003417/0.3246, allocations: 1.904 MB / 434.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3258, allocations: 0.6038 MB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3259, allocations: 7.938 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.3261, allocations: 39.53 kB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.985e-05/0.3262, allocations: 47.53 kB / 435 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3265, allocations: 79.84 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.3267, allocations: 211.1 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.3269, allocations: 48.36 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3271, allocations: 83.7 kB / 435.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3272, allocations: 67.56 kB / 435.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.3272, allocations: 12 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.3273, allocations: 20 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.3274, allocations: 43.72 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.3274, allocations: 67.59 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3277, allocations: 178 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3277, allocations: 0 / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3277, allocations: 4 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3277, allocations: 0 / 435.8 MB, free: 3.113 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.0007199/0.3284, allocations: 433.1 kB / 436.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3285, allocations: 11.98 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.3287, allocations: 52.77 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.329, allocations: 186 kB / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3291, allocations: 8.375 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.3291, allocations: 16.31 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3294, allocations: 164.5 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3294, allocations: 0 / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3294, allocations: 4 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3294, allocations: 4 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3296, allocations: 99.81 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.3305, allocations: 0.5317 MB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3308, allocations: 123.8 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3309, allocations: 62.61 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3309, allocations: 3.938 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.331, allocations: 34.56 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 4.399e-06/0.331, allocations: 4 kB / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004779/0.3314, allocations: 173.4 kB / 437.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.3315, allocations: 110.8 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3317, allocations: 195.2 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3317, allocations: 33.7 kB / 438 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.3318, allocations: 135.9 kB / 438.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.3319, allocations: 55.53 kB / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.3319, allocations: 29.7 kB / 438.2 MB, free: 484 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3321, allocations: 327 kB / 438.5 MB, free: 148 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3322, allocations: 47.97 kB / 438.6 MB, free: 100 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3324, allocations: 94.83 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3326, allocations: 138.7 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3326, allocations: 4 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000334/0.3329, allocations: 185.3 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.333, allocations: 8 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.333, allocations: 0 / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.333, allocations: 4 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3331, allocations: 31.97 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3331, allocations: 12.12 kB / 439 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.3332, allocations: 12.52 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3333, allocations: 11.98 kB / 439.1 MB, free: 15.55 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.0001162/0.3334, allocations: 129.8 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.3334, allocations: 19.84 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.3338, allocations: 182.5 kB / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3338, allocations: 96 / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3339, allocations: 4 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3339, allocations: 11.98 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.3342, allocations: 193.2 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3342, allocations: 0 / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3344, allocations: 27.98 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3344, allocations: 7.938 kB / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.3344, allocations: 7.984 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3344, allocations: 4 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3344, allocations: 0 / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.335, allocations: 477.3 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.335, allocations: 19.8 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.3351, allocations: 12 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3352, allocations: 11.92 kB / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3353, allocations: 15.97 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3353, allocations: 4 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3354, allocations: 144.7 kB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3354, allocations: 0 / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.3358, allocations: 43.89 kB / 440.4 MB, free: 14.2 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.0001226/0.3359, allocations: 103.2 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3362, allocations: 114.6 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3362, allocations: 0 / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3363, allocations: 59.91 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3367, allocations: 15.94 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3378, allocations: 0.6454 MB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.338, allocations: 133.6 kB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.338, allocations: 23.44 kB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.338, allocations: 0 / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.004185/0.3422, allocations: 2.137 MB / 443.6 MB, free: 10.91 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.984993196092546]