Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.002153/0.002153, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002579/0.002579, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 67.84 kB / 378.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2383, allocations: 53.4 MB / 432 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003933/0.2423, allocations: 2.387 MB / 434.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2435, allocations: 0.6582 MB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2436, allocations: 7.938 kB / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2437, allocations: 39.59 kB / 435.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2439, allocations: 83.33 kB / 435.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2442, allocations: 67.84 kB / 435.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.2445, allocations: 270.7 kB / 435.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.2447, allocations: 75.23 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.2449, allocations: 119.6 kB / 435.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.245, allocations: 119.5 kB / 435.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2451, allocations: 20 kB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.2451, allocations: 28 kB / 435.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.2452, allocations: 47.78 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2453, allocations: 123.4 kB / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.2457, allocations: 271.7 kB / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2457, allocations: 0 / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2457, allocations: 0 / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2457, allocations: 0 / 436.3 MB, free: 2.414 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007442/0.2464, allocations: 473.5 kB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2465, allocations: 12.02 kB / 436.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/0.2465, allocations: 4.625 kB / 436.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/0.2465, allocations: 54.73 kB / 436.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.2467, allocations: 44.67 kB / 436.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.247, allocations: 178.9 kB / 437 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2471, allocations: 20.81 kB / 437 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.2471, allocations: 32.27 kB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.2475, allocations: 199.2 kB / 437.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2475, allocations: 7.922 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2475, allocations: 4 kB / 437.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2475, allocations: 8 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.2478, allocations: 133.7 kB / 437.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009705/0.2488, allocations: 0.6027 MB / 438 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.2491, allocations: 169.6 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2493, allocations: 92.81 kB / 438.3 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2493, allocations: 0 / 438.3 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.361e-05/0.2494, allocations: 34.56 kB / 438.3 MB, free: 248 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.022e-06/0.2494, allocations: 4 kB / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00188/0.2513, allocations: 0.9187 MB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2513, allocations: 59.41 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.2515, allocations: 183.2 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2515, allocations: 29.7 kB / 439.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2516, allocations: 144.8 kB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.2517, allocations: 115 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.2518, allocations: 53.7 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2519, allocations: 330.8 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2521, allocations: 71.97 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.2523, allocations: 107.2 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.2526, allocations: 193.2 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2526, allocations: 0 / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005043/0.2531, allocations: 295.2 kB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2531, allocations: 4 kB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2531, allocations: 4 kB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.2533, allocations: 44.83 kB / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.2536, allocations: 55.91 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.2552, allocations: 1.641 MB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2553, allocations: 11.98 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2553, allocations: 16.06 kB / 442.5 MB, free: 11.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.2555, allocations: 141.3 kB / 442.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.2555, allocations: 23.86 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.2556, allocations: 30.59 kB / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2556, allocations: 7.984 kB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2556, allocations: 0 / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2556, allocations: 0 / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.2567, allocations: 0.7617 MB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2567, allocations: 0 / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.257, allocations: 59.91 kB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.2571, allocations: 40.91 kB / 443.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.2571, allocations: 8 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.2584, allocations: 1.385 MB / 445 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2584, allocations: 4.031 kB / 445 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.2591, allocations: 486.9 kB / 445.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.2592, allocations: 23.86 kB / 445.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.2592, allocations: 8 kB / 445.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2593, allocations: 8 kB / 445.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.2594, allocations: 23.95 kB / 445.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2594, allocations: 4 kB / 445.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.2595, allocations: 136.4 kB / 445.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2595, allocations: 4 kB / 445.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.2599, allocations: 64 kB / 445.7 MB, free: 8.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.261, allocations: 1.021 MB / 446.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.2617, allocations: 326.7 kB / 447.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2617, allocations: 0 / 447.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.2621, allocations: 238.7 kB / 447.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.2626, allocations: 49.97 kB / 447.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.2663, allocations: 2.771 MB / 450.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2667, allocations: 0.7525 MB / 450.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.797e-05/0.2668, allocations: 26.28 kB / 450.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.267, allocations: 79.34 kB / 451 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 1.372e-06/0.267, allocations: 0 / 451 MB, free: 2.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.3, allocations: 5.576 MB / 456.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.5, allocations: 3.938 kB / 456.6 MB, free: 13.43 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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: 13.838099774031434]