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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001152, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000982/0.000982, allocations: 105.4 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009195/0.0009196, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2324, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002467/0.2349, allocations: 2.05 MB / 409.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.2357, allocations: 0.5972 MB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2358, allocations: 4 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.236, allocations: 31.66 kB / 409.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.2361, allocations: 31.72 kB / 409.8 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.2363, allocations: 55.95 kB / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2365, allocations: 191.2 kB / 410 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2366, allocations: 76.33 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.2367, allocations: 75.66 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.2368, allocations: 71.56 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.2369, allocations: 8 kB / 410.2 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.2369, allocations: 11.98 kB / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.237, allocations: 27.86 kB / 410.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.237, allocations: 83.41 kB / 410.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2372, allocations: 168.8 kB / 410.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2372, allocations: 4 kB / 410.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2372, allocations: 0 / 410.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.2372, allocations: 0 / 410.5 MB, free: 24.31 MB / 298.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.0005365/0.2377, allocations: 494.5 kB / 411 MB, free: 23.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2378, allocations: 12.03 kB / 411 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.238, allocations: 40.62 kB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.2382, allocations: 231.8 kB / 411.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2382, allocations: 12.38 kB / 411.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.2382, allocations: 16.28 kB / 411.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.2385, allocations: 164.5 kB / 411.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2385, allocations: 0 / 411.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2385, allocations: 4 kB / 411.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2385, allocations: 4 kB / 411.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2387, allocations: 95.88 kB / 411.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.2394, allocations: 0.6294 MB / 412.2 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2396, allocations: 135.8 kB / 412.3 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.2397, allocations: 58.67 kB / 412.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2398, allocations: 7.969 kB / 412.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2398, allocations: 42.56 kB / 412.4 MB, free: 22.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2398, allocations: 0 / 412.4 MB, free: 22.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004223/0.2402, allocations: 181.6 kB / 412.6 MB, free: 22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2403, allocations: 102.8 kB / 412.7 MB, free: 21.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2404, allocations: 229.1 kB / 412.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2404, allocations: 33.7 kB / 413 MB, free: 21.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2405, allocations: 136 kB / 413.1 MB, free: 21.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.2405, allocations: 39.36 kB / 413.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.2406, allocations: 33.7 kB / 413.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.2407, allocations: 338.8 kB / 413.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.2408, allocations: 39.97 kB / 413.5 MB, free: 21.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2409, allocations: 93.5 kB / 413.6 MB, free: 20.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2411, allocations: 154.7 kB / 413.8 MB, free: 20.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2411, allocations: 0 / 413.8 MB, free: 20.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002688/0.2414, allocations: 181.1 kB / 414 MB, free: 20.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2414, allocations: 16.17 kB / 414 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2414, allocations: 0 / 414 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2414, allocations: 4 kB / 414 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2416, allocations: 31.98 kB / 414 MB, free: 20.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2416, allocations: 7.938 kB / 414 MB, free: 20.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.2417, allocations: 19.83 kB / 414 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2417, allocations: 4 kB / 414 MB, free: 20.46 MB / 298.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 7.701e-05/0.2418, allocations: 135.2 kB / 414.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.2419, allocations: 27.72 kB / 414.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.2422, allocations: 190.7 kB / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2422, allocations: 0 / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2422, allocations: 0 / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2422, allocations: 4 kB / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.2426, allocations: 269.4 kB / 414.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2426, allocations: 4 kB / 414.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.2427, allocations: 31.98 kB / 414.7 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2427, allocations: 3.984 kB / 414.7 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2428, allocations: 8 kB / 414.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2428, allocations: 3.938 kB / 414.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2428, allocations: 0 / 414.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.244, allocations: 1.613 MB / 416.3 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2441, allocations: 108.8 kB / 416.4 MB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2441, allocations: 4 kB / 416.4 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2443, allocations: 8 kB / 416.4 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2443, allocations: 15.92 kB / 416.5 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2443, allocations: 11.98 kB / 416.5 MB, free: 17.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.2444, allocations: 168.5 kB / 416.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2444, allocations: 0 / 416.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.2448, allocations: 40 kB / 416.7 MB, free: 17.61 MB / 298.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 0.0001003/0.245, allocations: 107.2 kB / 416.8 MB, free: 17.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.2452, allocations: 107.9 kB / 416.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2452, allocations: 0 / 416.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.2453, allocations: 67.84 kB / 416.9 MB, free: 17.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.2457, allocations: 16.38 kB / 417 MB, free: 17.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.2466, allocations: 0.8377 MB / 417.8 MB, free: 16.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2468, allocations: 0.7439 MB / 418.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.2469, allocations: 22.19 kB / 418.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.2469, allocations: 19.44 kB / 418.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2469, allocations: 7.938 kB / 418.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003245/0.2502, allocations: 1.366 MB / 420 MB, free: 14.25 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches