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.001307/0.001307, allocations: 120 kB / 18.46 MB, free: 4.562 MB / 14.72 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.001397/0.001397, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.57/1.57, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001702/0.001702, allocations: 51.92 kB / 374.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1122, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003354/0.1156, allocations: 2.027 MB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1168, allocations: 0.6389 MB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1169, allocations: 7.938 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.1171, allocations: 39.53 kB / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.1172, allocations: 43.59 kB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1175, allocations: 79.84 kB / 430.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1178, allocations: 207.2 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1179, allocations: 52.31 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1181, allocations: 83.64 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1182, allocations: 75.56 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1183, allocations: 16 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.1183, allocations: 20 kB / 430.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.1184, allocations: 35.83 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.1184, allocations: 87.42 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.1187, allocations: 183 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1187, allocations: 0 / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1187, allocations: 0 / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1187, allocations: 3.938 kB / 431.1 MB, free: 0.668 MB / 350.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.0007486/0.1195, allocations: 0.5061 MB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1195, allocations: 8.031 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.1197, allocations: 40.78 kB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2027/0.3224, allocations: 236.5 kB / 431.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3224, allocations: 10.62 kB / 431.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.3225, allocations: 17.5 kB / 431.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3229, allocations: 168.5 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3229, allocations: 0.5625 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3229, allocations: 5.469 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3229, allocations: 5.281 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3232, allocations: 92.92 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.3241, allocations: 0.6369 MB / 432.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3243, allocations: 127.8 kB / 432.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3244, allocations: 54.56 kB / 432.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3245, allocations: 6.75 kB / 433 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3245, allocations: 33.38 kB / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.3245, allocations: 0 / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005157/0.325, allocations: 185 kB / 433.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.325, allocations: 108.6 kB / 433.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3252, allocations: 241.8 kB / 433.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3252, allocations: 26.36 kB / 433.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.3253, allocations: 132.8 kB / 433.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.3253, allocations: 56.14 kB / 433.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.3254, allocations: 30.39 kB / 433.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.3255, allocations: 334.2 kB / 434.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3256, allocations: 38.58 kB / 434.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3257, allocations: 94.39 kB / 434.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3259, allocations: 150.8 kB / 434.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3259, allocations: 0 / 434.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003032/0.3262, allocations: 181.5 kB / 434.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3262, allocations: 9.344 kB / 434.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3262, allocations: 6.031 kB / 434.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3263, allocations: 5.938 kB / 434.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3264, allocations: 37.61 kB / 434.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3264, allocations: 5.969 kB / 434.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3265, allocations: 17.92 kB / 434.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3265, allocations: 7.844 kB / 434.6 MB, free: 9.656 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 7.22e-05/0.3266, allocations: 129.8 kB / 434.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.3267, allocations: 24.48 kB / 434.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.3271, allocations: 186.7 kB / 435 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3271, allocations: 2.5 kB / 435 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3271, allocations: 4.875 kB / 435 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3271, allocations: 3.844 kB / 435 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3275, allocations: 269.4 kB / 435.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3275, allocations: 1.156 kB / 435.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.3277, allocations: 35.05 kB / 435.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3277, allocations: 1.312 kB / 435.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3277, allocations: 9.781 kB / 435.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3277, allocations: 1.75 kB / 435.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3277, allocations: 8.641 kB / 435.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.3282, allocations: 475.3 kB / 435.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3282, allocations: 105.4 kB / 435.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3282, allocations: 10.38 kB / 435.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3284, allocations: 11.44 kB / 435.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.3285, allocations: 9.422 kB / 435.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3285, allocations: 10.81 kB / 435.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3286, allocations: 170.8 kB / 436.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3286, allocations: 0 / 436.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.329, allocations: 34.11 kB / 436.1 MB, free: 8.785 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 9.417e-05/0.3291, allocations: 100 kB / 436.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.3294, allocations: 114.5 kB / 436.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3294, allocations: 0 / 436.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3295, allocations: 62.62 kB / 436.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3299, allocations: 23.34 kB / 436.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.3308, allocations: 0.6604 MB / 437 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.331, allocations: 0.7416 MB / 437.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.331, allocations: 21.95 kB / 437.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.331, allocations: 1.062 kB / 437.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Templates: time 0.004668/0.3357, allocations: 2.188 MB / 440 MB, free: 7.359 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.374659332999727]