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.001715/0.001715, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001856/0.001856, allocations: 183.7 kB / 23.71 MB, free: 4.695 MB / 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.507/1.507, allocations: 225.6 MB / 252.5 MB, free: 13 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.00157/0.00157, allocations: 47.91 kB / 370.9 MB, free: 9.422 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2795, allocations: 52.17 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003689/0.2832, allocations: 2.017 MB / 425.1 MB, free: 12.64 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001197/0.2844, allocations: 0.5843 MB / 425.7 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2845, allocations: 7.938 kB / 425.7 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2847, allocations: 43.53 kB / 425.8 MB, free: 12 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.2848, allocations: 31.66 kB / 425.8 MB, free: 11.97 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.2851, allocations: 71.78 kB / 425.9 MB, free: 11.9 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002666/0.2853, allocations: 203.2 kB / 426.1 MB, free: 11.7 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.2855, allocations: 56.5 kB / 426.1 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2857, allocations: 75.66 kB / 426.2 MB, free: 11.57 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2858, allocations: 83.55 kB / 426.3 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2858, allocations: 12 kB / 426.3 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.2859, allocations: 16 kB / 426.3 MB, free: 11.46 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.2859, allocations: 31.84 kB / 426.3 MB, free: 11.43 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.286, allocations: 83.48 kB / 426.4 MB, free: 11.35 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.2863, allocations: 180.3 kB / 426.6 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2863, allocations: 0 / 426.6 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.783e-06/0.2863, allocations: 0 / 426.6 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.902e-06/0.2863, allocations: 4 kB / 426.6 MB, free: 11.18 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.0007551/0.287, allocations: 429.2 kB / 427 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2871, allocations: 8.031 kB / 427 MB, free: 10.72 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.2871, allocations: 24.8 kB / 427 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2874, allocations: 174.1 kB / 427.2 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2874, allocations: 8.375 kB / 427.2 MB, free: 10.49 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.2874, allocations: 19.94 kB / 427.2 MB, free: 10.47 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.2878, allocations: 164.1 kB / 427.4 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2878, allocations: 0 / 427.4 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2878, allocations: 4 kB / 427.4 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2878, allocations: 4 kB / 427.4 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2881, allocations: 87.94 kB / 427.5 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2891, allocations: 0.6128 MB / 428.1 MB, free: 9.539 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.2894, allocations: 127.8 kB / 428.2 MB, free: 9.387 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2896, allocations: 66.59 kB / 428.3 MB, free: 9.312 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2896, allocations: 0 / 428.3 MB, free: 9.312 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2896, allocations: 42.5 kB / 428.3 MB, free: 9.262 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.2896, allocations: 0 / 428.3 MB, free: 9.262 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0005352/0.2901, allocations: 177.5 kB / 428.5 MB, free: 9.082 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.2902, allocations: 106.8 kB / 428.6 MB, free: 8.953 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.2905, allocations: 229.1 kB / 428.8 MB, free: 8.723 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2905, allocations: 29.7 kB / 428.9 MB, free: 8.688 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2906, allocations: 132.1 kB / 429 MB, free: 8.555 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.2907, allocations: 51.58 kB / 429 MB, free: 8.504 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.2908, allocations: 29.7 kB / 429.1 MB, free: 8.469 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001977/0.291, allocations: 338.8 kB / 429.4 MB, free: 8.129 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2911, allocations: 43.97 kB / 429.4 MB, free: 8.086 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2912, allocations: 90.78 kB / 429.5 MB, free: 7.973 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.2915, allocations: 147.3 kB / 429.7 MB, free: 7.805 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2915, allocations: 0 / 429.7 MB, free: 7.805 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003747/0.2919, allocations: 185.3 kB / 429.9 MB, free: 7.617 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2919, allocations: 11.98 kB / 429.9 MB, free: 7.605 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2919, allocations: 0 / 429.9 MB, free: 7.605 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2919, allocations: 4 kB / 429.9 MB, free: 7.602 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2921, allocations: 35.92 kB / 429.9 MB, free: 7.566 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2921, allocations: 4 kB / 429.9 MB, free: 7.562 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2922, allocations: 24.06 kB / 429.9 MB, free: 7.539 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2923, allocations: 4 kB / 429.9 MB, free: 7.535 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.0001465/0.2924, allocations: 137.7 kB / 430.1 MB, free: 7.391 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.2925, allocations: 23.86 kB / 430.1 MB, free: 7.367 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.2929, allocations: 178.9 kB / 430.3 MB, free: 7.184 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2929, allocations: 4 kB / 430.3 MB, free: 7.18 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2929, allocations: 4 kB / 430.3 MB, free: 7.176 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2929, allocations: 0 / 430.3 MB, free: 7.176 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.2934, allocations: 248.4 kB / 430.5 MB, free: 6.891 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2934, allocations: 0 / 430.5 MB, free: 6.891 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.2936, allocations: 39.92 kB / 430.6 MB, free: 6.852 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.2936, allocations: 3.984 kB / 430.6 MB, free: 6.848 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2937, allocations: 4 kB / 430.6 MB, free: 6.844 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2937, allocations: 0 / 430.6 MB, free: 6.844 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2937, allocations: 3.938 kB / 430.6 MB, free: 6.84 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.2943, allocations: 477.7 kB / 431 MB, free: 6.355 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.2944, allocations: 23.8 kB / 431.1 MB, free: 6.332 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.2944, allocations: 4.062 kB / 431.1 MB, free: 6.328 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.2946, allocations: 11.98 kB / 431.1 MB, free: 6.316 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.2946, allocations: 23.91 kB / 431.1 MB, free: 6.293 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2946, allocations: 7.938 kB / 431.1 MB, free: 6.285 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001655/0.2948, allocations: 168.5 kB / 431.3 MB, free: 6.121 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2948, allocations: 0 / 431.3 MB, free: 6.121 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003581/0.2952, allocations: 32 kB / 431.3 MB, free: 6.09 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.0001305/0.2953, allocations: 95.25 kB / 431.4 MB, free: 5.984 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003694/0.2957, allocations: 112.1 kB / 431.5 MB, free: 5.875 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2957, allocations: 0 / 431.5 MB, free: 5.875 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.2958, allocations: 59.91 kB / 431.6 MB, free: 5.816 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.2963, allocations: 20.44 kB / 431.6 MB, free: 5.797 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2975, allocations: 0.6342 MB / 432.2 MB, free: 5.129 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.2979, allocations: 0.7437 MB / 433 MB, free: 4.359 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 6.805e-05/0.298, allocations: 21.47 kB / 433 MB, free: 4.34 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.298, allocations: 23.42 kB / 433 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.298, allocations: 0 / 433 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of Templates: time 0.005292/0.3033, allocations: 1.465 MB / 434.5 MB, free: 2.855 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.747331174090505]