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.001541/0.001541, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001725/0.001725, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.001599/0.001599, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2363, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003192/0.2395, allocations: 1.908 MB / 434.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2406, allocations: 0.6154 MB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2407, allocations: 11.88 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2409, allocations: 35.59 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.241, allocations: 31.61 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2413, allocations: 91.83 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.2415, allocations: 215.1 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.2417, allocations: 52.36 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.2418, allocations: 79.7 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.242, allocations: 83.5 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.242, allocations: 12 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.2421, allocations: 16 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.2421, allocations: 35.84 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.2422, allocations: 71.53 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2424, allocations: 177.9 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2424, allocations: 4 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2424, allocations: 0 / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2424, allocations: 0 / 435.7 MB, free: 3.27 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.0006982/0.2431, allocations: 433.2 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2431, allocations: 12.03 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.2434, allocations: 40.77 kB / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.2437, allocations: 197.9 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2437, allocations: 12.38 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.2437, allocations: 16.38 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.2441, allocations: 160.5 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.2441, allocations: 0 / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2441, allocations: 8 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2441, allocations: 4 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.2443, allocations: 87.88 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.2452, allocations: 0.5355 MB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.2455, allocations: 123.8 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.2456, allocations: 54.67 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2456, allocations: 7.938 kB / 437.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2456, allocations: 34.56 kB / 437.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.2456, allocations: 0 / 437.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005371/0.2462, allocations: 186 kB / 437.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.2462, allocations: 102.8 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.2464, allocations: 199.2 kB / 437.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2465, allocations: 33.58 kB / 438 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.2466, allocations: 143.9 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.2466, allocations: 51.53 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.2467, allocations: 33.7 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2469, allocations: 326.8 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.247, allocations: 35.97 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.2471, allocations: 94.84 kB / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.2474, allocations: 146.7 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2474, allocations: 0 / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003559/0.2478, allocations: 185.3 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2478, allocations: 4 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2478, allocations: 4 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2478, allocations: 0 / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.248, allocations: 31.98 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.248, allocations: 11.92 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2481, allocations: 11.95 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2481, allocations: 4.188 kB / 439 MB, free: 15.72 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.000122/0.2483, allocations: 137.8 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.2483, allocations: 23.83 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.2487, allocations: 182.5 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2487, allocations: 8.078 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2488, allocations: 0 / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2488, allocations: 15.84 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2488, allocations: 8 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.249, allocations: 7.984 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.2491, allocations: 15.98 kB / 439.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006533/0.2497, allocations: 427.4 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006145/0.2503, allocations: 0.5536 MB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001434/0.2505, allocations: 56.03 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.2506, allocations: 139.2 kB / 440.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Backend: time 2.71e-07/0.2506, allocations: 0 / 440.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006491/0.2512, allocations: 154.2 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 0.001155/0.2524, allocations: 1.041 MB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Templates: time 0.004964/0.2574, allocations: 1.735 MB / 443.5 MB, free: 11.16 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: 4.514592286999687]