Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8822/0.8822, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 3.938 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.194e-05, allocations: 3.688 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002226/0.002238, allocations: 1.959 MB / 276.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.00296, allocations: 0.6314 MB / 276.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.003041, allocations: 7.938 kB / 276.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.003152, allocations: 43.53 kB / 276.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.00321, allocations: 36.7 kB / 276.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.00339, allocations: 86.23 kB / 276.9 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.00356, allocations: 223 kB / 277.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.003669, allocations: 52.55 kB / 277.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.003803, allocations: 99.78 kB / 277.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.003872, allocations: 59.73 kB / 277.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.003889, allocations: 16 kB / 277.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.003927, allocations: 16 kB / 277.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.003949, allocations: 39.84 kB / 277.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.003985, allocations: 51.83 kB / 277.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.004111, allocations: 131.4 kB / 277.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004113, allocations: 0 / 277.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.004113, allocations: 0 / 277.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.004116, allocations: 0 / 277.6 MB, free: 0.9766 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.0003504/0.004467, allocations: 0.5189 MB / 278.1 MB, free: 432 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.004492, allocations: 15.97 kB / 278.2 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.00462, allocations: 52.78 kB / 278.2 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.004765, allocations: 180.2 kB / 278.4 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004776, allocations: 12.38 kB / 278.4 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.004797, allocations: 20.3 kB / 278.4 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.004943, allocations: 146 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.004949, allocations: 192 / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.004959, allocations: 4.375 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.004966, allocations: 7.938 kB / 278.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.005014, allocations: 39.84 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.005464, allocations: 0.6384 MB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.005583, allocations: 117.1 kB / 279.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.005619, allocations: 47.23 kB / 279.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.005632, allocations: 4 kB / 279.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005652, allocations: 37.39 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.005653, allocations: 0 / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001819/0.005835, allocations: 121.4 kB / 279.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.005871, allocations: 110.9 kB / 279.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.006031, allocations: 241.7 kB / 279.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.006043, allocations: 33.7 kB / 279.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.00611, allocations: 186.6 kB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.006147, allocations: 51.58 kB / 280.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.006184, allocations: 39.34 kB / 280.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.0063, allocations: 0.5001 MB / 280.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.006322, allocations: 11.98 kB / 280.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.228e-05/0.006374, allocations: 85.47 kB / 280.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.006468, allocations: 121.8 kB / 280.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00647, allocations: 4 kB / 280.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001284/0.006599, allocations: 129.4 kB / 281.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.006608, allocations: 4 kB / 281.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.006614, allocations: 4.188 kB / 281.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.006623, allocations: 11.97 kB / 281.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.006698, allocations: 39.91 kB / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.0067, allocations: 0 / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.006745, allocations: 19.89 kB / 281.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.006754, allocations: 7.984 kB / 281.1 MB, free: 13.12 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 6.678e-05/0.00682, allocations: 160.6 kB / 281.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.006868, allocations: 19.84 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.00701, allocations: 142.6 kB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.007014, allocations: 7.938 kB / 281.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.007016, allocations: 4 kB / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007019, allocations: 0 / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.007228, allocations: 165.1 kB / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007229, allocations: 0 / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.007309, allocations: 27.98 kB / 281.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007312, allocations: 4 kB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.007323, allocations: 7.984 kB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007325, allocations: 7.938 kB / 281.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007326, allocations: 3.938 kB / 281.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.007573, allocations: 0.5198 MB / 282.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.007591, allocations: 23.84 kB / 282.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.007607, allocations: 8 kB / 282.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.007687, allocations: 0 / 282.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.007718, allocations: 23.91 kB / 282.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.007723, allocations: 4 kB / 282.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.007783, allocations: 168.5 kB / 282.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007783, allocations: 3.938 kB / 282.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.007986, allocations: 39.89 kB / 282.5 MB, free: 11.73 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 6.106e-05/0.008047, allocations: 95.25 kB / 282.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.008151, allocations: 79.5 kB / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.22e-07/0.008151, allocations: 0 / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.008194, allocations: 47.59 kB / 282.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.008433, allocations: 19.94 kB / 282.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.009072, allocations: 0.5265 MB / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.009121, allocations: 79.83 kB / 283.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.745e-05/0.009159, allocations: 17.47 kB / 283.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.00922, allocations: 90.19 kB / 283.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00922, allocations: 4 kB / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Templates: time 0.002785/0.01201, allocations: 1.28 MB / 284.7 MB, free: 9.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.650278096087277]