Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 151.7 kB / 24.81 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9053/0.9053, allocations: 173.4 MB / 201.4 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.549e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.006328/0.006353, allocations: 1.932 MB / 270.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.01042, allocations: 0.5647 MB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.01053, allocations: 7.938 kB / 270.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.01069, allocations: 47.47 kB / 270.9 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-05/0.01079, allocations: 43.59 kB / 271 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.01102, allocations: 63.8 kB / 271 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.01124, allocations: 207.1 kB / 271.2 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.0114, allocations: 48.55 kB / 271.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.01159, allocations: 103.7 kB / 271.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.0117, allocations: 55.8 kB / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.01173, allocations: 12 kB / 271.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.559e-05/0.01176, allocations: 16 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.01179, allocations: 39.84 kB / 271.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.01185, allocations: 51.83 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.01203, allocations: 123.4 kB / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01203, allocations: 0 / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01203, allocations: 4 kB / 271.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.01204, allocations: 3.984 kB / 271.7 MB, free: 2.867 MB / 250.7 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.003829/0.01587, allocations: 0.4995 MB / 272.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.01592, allocations: 12.92 kB / 272.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.01597, allocations: 32.8 kB / 272.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.01615, allocations: 191.9 kB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.01617, allocations: 8.375 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.0162, allocations: 12.38 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.0164, allocations: 165.4 kB / 272.6 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.01641, allocations: 4 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.01642, allocations: 4 kB / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.01643, allocations: 4 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.01648, allocations: 31.59 kB / 272.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.01711, allocations: 0.6501 MB / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.01726, allocations: 129.1 kB / 273.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.01731, allocations: 43.3 kB / 273.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.01733, allocations: 4 kB / 273.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.01736, allocations: 45.27 kB / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.01736, allocations: 0 / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.00026/0.01762, allocations: 113.5 kB / 273.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.01767, allocations: 106.8 kB / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01782, allocations: 241.6 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.01783, allocations: 25.83 kB / 274 MB, free: 344 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.01792, allocations: 194.6 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.01797, allocations: 55.52 kB / 274.2 MB, free: 88 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.01802, allocations: 39.3 kB / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01816, allocations: 0.5002 MB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.01819, allocations: 11.98 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.01827, allocations: 92.42 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.01839, allocations: 117.2 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01839, allocations: 0 / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001909/0.01858, allocations: 133.3 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.0186, allocations: 4 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.0186, allocations: 4 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01862, allocations: 0 / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/0.02176, allocations: 35.97 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.02176, allocations: 8.188 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.02184, allocations: 7.953 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.02185, allocations: 15.94 kB / 275.2 MB, free: 15.04 MB / 266.7 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 9.324e-05/0.02195, allocations: 164.5 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.02201, allocations: 23.84 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.02223, allocations: 126.7 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.02223, allocations: 4 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.02224, allocations: 4.547 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02224, allocations: 0 / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.02258, allocations: 161.1 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02258, allocations: 7.938 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.02271, allocations: 35.98 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.02272, allocations: 0 / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.02273, allocations: 4 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02273, allocations: 7.875 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.02274, allocations: 4 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.02308, allocations: 0.5205 MB / 276.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.02311, allocations: 27.8 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.02314, allocations: 7.922 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.0233, allocations: 8 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.02334, allocations: 15.97 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.02335, allocations: 4.094 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.02344, allocations: 176.3 kB / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02344, allocations: 0 / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.02382, allocations: 39.89 kB / 276.5 MB, free: 13.65 MB / 266.7 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 8.988e-05/0.02391, allocations: 103.1 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.02405, allocations: 75.86 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02405, allocations: 4.062 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.02412, allocations: 47.53 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.0245, allocations: 14.66 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.0258, allocations: 0.5183 MB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.02587, allocations: 83.67 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.02593, allocations: 21.47 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.02601, allocations: 86.2 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02601, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.004027/0.03004, allocations: 1.251 MB / 278.7 MB, free: 11.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.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.581759971100837]