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.001721/0.001721, allocations: 114.2 kB / 19.04 MB, free: 3.277 MB / 14.72 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.00191/0.00191, allocations: 184.5 kB / 22.21 MB, free: 108 kB / 14.72 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 1.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001696/0.001696, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3491, allocations: 52.14 MB / 420.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00335/0.3525, allocations: 2.012 MB / 422.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.3535, allocations: 0.5882 MB / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.3536, allocations: 4 kB / 423.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3537, allocations: 35.53 kB / 423.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.046e-05/0.3538, allocations: 47.53 kB / 423.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3541, allocations: 67.73 kB / 423.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.3543, allocations: 203.2 kB / 423.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3545, allocations: 56.36 kB / 423.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3546, allocations: 67.72 kB / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3547, allocations: 79.55 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.3548, allocations: 12 kB / 424 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.696e-05/0.3548, allocations: 16 kB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.3548, allocations: 39.78 kB / 424.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.3549, allocations: 83.47 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3552, allocations: 176.4 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3552, allocations: 0 / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3552, allocations: 4 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3552, allocations: 0 / 424.3 MB, free: 11.64 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.0007398/0.3559, allocations: 498.3 kB / 424.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.356, allocations: 8.031 kB / 424.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.356, allocations: 32.72 kB / 424.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3563, allocations: 232 kB / 425.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3564, allocations: 12.38 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3564, allocations: 15.94 kB / 425.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.3567, allocations: 172.6 kB / 425.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3568, allocations: 0 / 425.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.3568, allocations: 8 kB / 425.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3568, allocations: 3.938 kB / 425.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.357, allocations: 87.88 kB / 425.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.358, allocations: 0.6411 MB / 426 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3583, allocations: 127.8 kB / 426.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3584, allocations: 50.62 kB / 426.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3584, allocations: 11.98 kB / 426.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3585, allocations: 30.56 kB / 426.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3585, allocations: 0 / 426.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004968/0.359, allocations: 181.4 kB / 426.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.3591, allocations: 110.7 kB / 426.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3593, allocations: 233 kB / 426.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3593, allocations: 25.7 kB / 426.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3594, allocations: 136 kB / 426.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3595, allocations: 51.56 kB / 426.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.3595, allocations: 37.83 kB / 427 MB, free: 8.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3597, allocations: 338.7 kB / 427.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3598, allocations: 43.97 kB / 427.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.36, allocations: 90.12 kB / 427.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.3602, allocations: 146.7 kB / 427.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3602, allocations: 8 kB / 427.6 MB, free: 8.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003512/0.3606, allocations: 181.3 kB / 427.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3606, allocations: 4 kB / 427.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3606, allocations: 4 kB / 427.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3606, allocations: 3.984 kB / 427.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3608, allocations: 31.98 kB / 427.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3608, allocations: 8.188 kB / 427.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3609, allocations: 23.81 kB / 427.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3609, allocations: 8 kB / 427.9 MB, free: 7.777 MB / 334.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.0001235/0.361, allocations: 129.7 kB / 428 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.3611, allocations: 19.86 kB / 428 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3615, allocations: 194.8 kB / 428.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3615, allocations: 8 kB / 428.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3615, allocations: 0 / 428.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3615, allocations: 0 / 428.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.362, allocations: 273.9 kB / 428.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.362, allocations: 0 / 428.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3622, allocations: 35.92 kB / 428.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.3622, allocations: 4 kB / 428.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3622, allocations: 7.984 kB / 428.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3622, allocations: 4 kB / 428.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3622, allocations: 0 / 428.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.3628, allocations: 477.7 kB / 429 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.3629, allocations: 97.03 kB / 429.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3629, allocations: 4 kB / 429.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3631, allocations: 11.98 kB / 429.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.3632, allocations: 11.98 kB / 429.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3632, allocations: 11.94 kB / 429.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3634, allocations: 168.5 kB / 429.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 429.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.3637, allocations: 35.94 kB / 429.3 MB, free: 6.211 MB / 334.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.0001294/0.3638, allocations: 107.3 kB / 429.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.3642, allocations: 115.8 kB / 429.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3642, allocations: 0 / 429.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3643, allocations: 55.91 kB / 429.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3647, allocations: 20.44 kB / 429.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3659, allocations: 0.635 MB / 430.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3663, allocations: 0.7397 MB / 431 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.3664, allocations: 17.53 kB / 431 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.3665, allocations: 23.42 kB / 431 MB, free: 4.434 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3665, allocations: 0 / 431 MB, free: 4.434 MB / 334.1 MB Notification: Performance of Templates: time 0.004707/0.3712, allocations: 1.413 MB / 432.4 MB, free: 3.023 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.86084938980639]