Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.001686/0.001686, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002216/0.002216, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2188, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006565/0.2254, allocations: 4.854 MB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.2287, allocations: 2.052 MB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.229, allocations: 51.56 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.2295, allocations: 206.2 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.2298, allocations: 174.4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.2307, allocations: 407 kB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.2317, allocations: 1.005 MB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.2323, allocations: 417.6 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.2327, allocations: 362.7 kB / 441.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.2331, allocations: 366.3 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.2332, allocations: 92 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.2335, allocations: 155.9 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2336, allocations: 203.4 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.234, allocations: 346.5 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.2352, allocations: 1.204 MB / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2352, allocations: 7.984 kB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2352, allocations: 0 / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2352, allocations: 0 / 444.2 MB, free: 10.84 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001451/0.2366, allocations: 0.9803 MB / 445.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2367, allocations: 8.031 kB / 445.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.2369, allocations: 100.4 kB / 445.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.2377, allocations: 468.3 kB / 445.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/0.2378, allocations: 66.38 kB / 445.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2379, allocations: 88.33 kB / 445.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.2393, allocations: 0.8124 MB / 446.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.2393, allocations: 4 kB / 446.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.2394, allocations: 36 kB / 446.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.2394, allocations: 20 kB / 446.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.2404, allocations: 0.4918 MB / 447.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.2434, allocations: 2.477 MB / 449.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.244, allocations: 199.9 kB / 449.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2441, allocations: 92.77 kB / 450 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.2443, allocations: 23.98 kB / 450 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2443, allocations: 39 kB / 450.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 3.507e-06/0.2443, allocations: 3.984 kB / 450.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002289/0.2466, allocations: 1.116 MB / 451.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.2466, allocations: 55.41 kB / 451.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.2469, allocations: 321.5 kB / 451.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.247, allocations: 33.7 kB / 451.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.2472, allocations: 403.8 kB / 452 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2474, allocations: 146.8 kB / 452.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2475, allocations: 82.16 kB / 452.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2476, allocations: 350.7 kB / 452.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.2479, allocations: 112.9 kB / 452.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.2482, allocations: 254 kB / 452.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.2487, allocations: 388.7 kB / 453.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2487, allocations: 4 kB / 453.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007396/0.2495, allocations: 457.3 kB / 453.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2495, allocations: 8.594 kB / 453.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2495, allocations: 8 kB / 453.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.2497, allocations: 40.84 kB / 453.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.25, allocations: 115.8 kB / 453.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004126/0.2505, allocations: 0.5601 MB / 454.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2506, allocations: 12 kB / 454.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.2507, allocations: 24 kB / 454.5 MB, free: 32 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.2509, allocations: 221.6 kB / 454.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.251, allocations: 39.77 kB / 454.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006263/0.2516, allocations: 333.6 kB / 455.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2516, allocations: 0 / 455.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2516, allocations: 3.984 kB / 455.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.2517, allocations: 31.77 kB / 455.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.2517, allocations: 8 kB / 455.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2519, allocations: 8 kB / 455.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.2519, allocations: 23.95 kB / 455.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009148/0.2529, allocations: 413.3 kB / 455.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007978/0.2537, allocations: 0.6056 MB / 456.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001921/0.2538, allocations: 103.9 kB / 456.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.2541, allocations: 211.2 kB / 456.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Backend: time 2.8e-07/0.2541, allocations: 4 kB / 456.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.2549, allocations: 310.1 kB / 456.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 0.002624/0.2575, allocations: 2.055 MB / 458.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Templates: time 0.0115/0.269, allocations: 5.785 MB / 464.6 MB, free: 5.879 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.438142218001303]