Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001864/0.001864, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2817, allocations: 53.33 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003475/0.2852, allocations: 2.012 MB / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2863, allocations: 0.6505 MB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.2864, allocations: 3.938 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2866, allocations: 43.53 kB / 434.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.595e-05/0.2867, allocations: 43.59 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.287, allocations: 87.72 kB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.2872, allocations: 203.2 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2874, allocations: 52.36 kB / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2876, allocations: 83.64 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2877, allocations: 75.56 kB / 435.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.2877, allocations: 16 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.2878, allocations: 19.94 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.2878, allocations: 35.84 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.2879, allocations: 83.47 kB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.2881, allocations: 188.6 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2881, allocations: 0 / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2881, allocations: 0 / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2881, allocations: 0 / 435.6 MB, free: 3.773 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.0007084/0.2888, allocations: 0.4983 MB / 436.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2889, allocations: 8.031 kB / 436.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.2891, allocations: 44.77 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2895, allocations: 255.8 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2895, allocations: 8.375 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.2896, allocations: 16.38 kB / 436.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2899, allocations: 168.4 kB / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2899, allocations: 0 / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.2899, allocations: 7.984 kB / 436.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2899, allocations: 4 kB / 436.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.2901, allocations: 83.95 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.2911, allocations: 0.6451 MB / 437.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.2914, allocations: 131.7 kB / 437.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2915, allocations: 54.69 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2915, allocations: 4 kB / 437.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2915, allocations: 38.5 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2915, allocations: 0 / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000497/0.292, allocations: 173.5 kB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.2921, allocations: 114.8 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.2923, allocations: 230.6 kB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2924, allocations: 29.7 kB / 438.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2925, allocations: 140 kB / 438.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.2925, allocations: 47.59 kB / 438.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.2926, allocations: 33.7 kB / 438.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2928, allocations: 334.8 kB / 438.7 MB, free: 488 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2929, allocations: 39.97 kB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.293, allocations: 101.9 kB / 438.8 MB, free: 324 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.2933, allocations: 146.7 kB / 438.9 MB, free: 152 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2933, allocations: 0 / 438.9 MB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003908/0.2937, allocations: 185.2 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.2937, allocations: 8 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2937, allocations: 0 / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2937, allocations: 7.984 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2939, allocations: 35.92 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2939, allocations: 3.984 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.294, allocations: 23.88 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.2941, allocations: 8.75 kB / 439.2 MB, free: 15.88 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 0.0001292/0.2942, allocations: 137.7 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.2943, allocations: 19.86 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.2947, allocations: 190.8 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2947, allocations: 4 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2947, allocations: 0 / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2947, allocations: 0 / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.2952, allocations: 281.4 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2952, allocations: 0 / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.2954, allocations: 35.91 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2954, allocations: 4 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2954, allocations: 4 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2954, allocations: 7.938 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2954, allocations: 0 / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.296, allocations: 477.7 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.2961, allocations: 100.9 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.2962, allocations: 12.05 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2963, allocations: 4 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.2964, allocations: 11.98 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2964, allocations: 8 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.2966, allocations: 182 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2966, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.297, allocations: 28 kB / 440.7 MB, free: 14.3 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 0.0001095/0.2971, allocations: 99.25 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.2974, allocations: 115.7 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2974, allocations: 4.375 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2976, allocations: 59.91 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.298, allocations: 16.56 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2991, allocations: 0.627 MB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2995, allocations: 0.7474 MB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.2995, allocations: 25.53 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.2996, allocations: 27.42 kB / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2996, allocations: 0 / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Templates: time 0.004928/0.3045, allocations: 1.425 MB / 443.8 MB, free: 11.09 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.636651748325676]