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.001401/0.001401, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001404/0.001404, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001688/0.001688, allocations: 51.92 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2861, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004199/0.2903, allocations: 2.021 MB / 434.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2916, allocations: 0.6505 MB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2918, allocations: 11.81 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2919, allocations: 39.59 kB / 435.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.292, allocations: 39.59 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.2923, allocations: 91.77 kB / 435.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.2926, allocations: 215.1 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2928, allocations: 44.58 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.293, allocations: 79.69 kB / 435.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2931, allocations: 75.52 kB / 435.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.2931, allocations: 12 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.848e-05/0.2932, allocations: 20 kB / 435.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.2932, allocations: 43.77 kB / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2933, allocations: 83.48 kB / 435.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.2937, allocations: 180.4 kB / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2937, allocations: 3.938 kB / 436 MB, free: 3.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2937, allocations: 0 / 436 MB, free: 3.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.2937, allocations: 0 / 436 MB, free: 3.324 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.0009367/0.2946, allocations: 433.2 kB / 436.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.2947, allocations: 12.03 kB / 436.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.295, allocations: 44.77 kB / 436.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.2954, allocations: 194 kB / 436.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.2955, allocations: 12.38 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.2955, allocations: 12.38 kB / 436.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.2959, allocations: 156.5 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2959, allocations: 0 / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2959, allocations: 8 kB / 436.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.2959, allocations: 11.98 kB / 436.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.2961, allocations: 87.83 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2973, allocations: 0.6012 MB / 437.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2975, allocations: 135.8 kB / 437.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2976, allocations: 50.69 kB / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2977, allocations: 0 / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2977, allocations: 38.56 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.2977, allocations: 0 / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004974/0.2982, allocations: 185.3 kB / 437.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.2983, allocations: 102.8 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.2985, allocations: 238 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2986, allocations: 37.64 kB / 438.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2987, allocations: 140 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.2987, allocations: 51.58 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.2988, allocations: 33.7 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.299, allocations: 334.8 kB / 438.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2991, allocations: 39.97 kB / 438.9 MB, free: 192 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2992, allocations: 94.84 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.2995, allocations: 146.8 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2995, allocations: 0 / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003511/0.2999, allocations: 185.2 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2999, allocations: 12.19 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2999, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2999, allocations: 4 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.3002, allocations: 31.97 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.3002, allocations: 7.938 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3003, allocations: 23.88 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3003, allocations: 4 kB / 439.4 MB, free: 15.63 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.0001212/0.3004, allocations: 129.7 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.3005, allocations: 31.86 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.3009, allocations: 186.9 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3009, allocations: 0 / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3009, allocations: 4 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3009, allocations: 0 / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.3014, allocations: 248.4 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3014, allocations: 0.5625 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.3016, allocations: 27.98 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3016, allocations: 11.94 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.3016, allocations: 7.984 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3016, allocations: 8.078 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3016, allocations: 7.922 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.3023, allocations: 476.5 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.3023, allocations: 19.81 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.3023, allocations: 8.062 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3025, allocations: 7.984 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.3026, allocations: 15.97 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3026, allocations: 4 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.3028, allocations: 173.2 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3028, allocations: 0 / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00034/0.3031, allocations: 32 kB / 440.8 MB, free: 14.19 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.0001125/0.3032, allocations: 103.7 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.3035, allocations: 115.8 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3035, allocations: 0 / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3037, allocations: 63.84 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3041, allocations: 24.8 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.3052, allocations: 0.649 MB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.3057, allocations: 0.7436 MB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.3058, allocations: 27.42 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3058, allocations: 0 / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Templates: time 0.004889/0.3107, allocations: 2.189 MB / 444.7 MB, free: 10.2 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.141433289973065]