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.00157/0.00157, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00168/0.00168, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.001791/0.001791, allocations: 63.91 kB / 378.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2363, allocations: 53.42 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003543/0.2398, allocations: 2.247 MB / 434.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2409, allocations: 0.6116 MB / 434.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.241, allocations: 7.938 kB / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2411, allocations: 39.59 kB / 434.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.2413, allocations: 83.33 kB / 434.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.2415, allocations: 63.84 kB / 435 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.2418, allocations: 270.7 kB / 435.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.242, allocations: 75.23 kB / 435.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2422, allocations: 115.6 kB / 435.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2424, allocations: 123.4 kB / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.2424, allocations: 27.94 kB / 435.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.2425, allocations: 28 kB / 435.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.2425, allocations: 43.84 kB / 435.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2426, allocations: 107.5 kB / 435.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.243, allocations: 265.1 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.243, allocations: 0 / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.243, allocations: 4 kB / 436 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.243, allocations: 0 / 436 MB, free: 2.367 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.0007185/0.2437, allocations: 469.5 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2437, allocations: 12.03 kB / 436.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.2437, allocations: 4.625 kB / 436.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.2438, allocations: 58.72 kB / 436.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2439, allocations: 40.73 kB / 436.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.2442, allocations: 178.9 kB / 436.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2443, allocations: 20.75 kB / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.2443, allocations: 28.33 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2447, allocations: 191.2 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2447, allocations: 8 kB / 437 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.2447, allocations: 11.94 kB / 437 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2447, allocations: 8 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.245, allocations: 137.7 kB / 437.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.2459, allocations: 0.5598 MB / 437.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.2462, allocations: 169.5 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.2464, allocations: 88.83 kB / 437.9 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2464, allocations: 4 kB / 438 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2465, allocations: 34.56 kB / 438 MB, free: 248 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.2465, allocations: 0 / 438 MB, free: 248 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001906/0.2484, allocations: 0.9149 MB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.2484, allocations: 59.41 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2486, allocations: 183.2 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.2486, allocations: 29.7 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2487, allocations: 152.8 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.2488, allocations: 111 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.2489, allocations: 49.7 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2491, allocations: 334.8 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2492, allocations: 67.97 kB / 439.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2494, allocations: 111.1 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.2497, allocations: 197.3 kB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2497, allocations: 0 / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005114/0.2502, allocations: 291.2 kB / 440.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2503, allocations: 8 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2503, allocations: 3.938 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.2504, allocations: 40.84 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.2507, allocations: 67.95 kB / 440.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.2522, allocations: 1.625 MB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2523, allocations: 12.02 kB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2524, allocations: 8 kB / 442.2 MB, free: 11.77 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.0001468/0.2525, allocations: 141.8 kB / 442.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.2526, allocations: 27.86 kB / 442.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.2526, allocations: 30.64 kB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2526, allocations: 4 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2526, allocations: 0 / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2526, allocations: 3.938 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.2538, allocations: 0.7267 MB / 443.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2538, allocations: 4.094 kB / 443.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.254, allocations: 55.91 kB / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.2541, allocations: 36.83 kB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2542, allocations: 8 kB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.2554, allocations: 1.377 MB / 444.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2554, allocations: 64 / 444.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.2561, allocations: 498.8 kB / 445.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.2561, allocations: 23.86 kB / 445.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.2562, allocations: 8 kB / 445.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2563, allocations: 8 kB / 445.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.2564, allocations: 27.94 kB / 445.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2564, allocations: 8 kB / 445.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2565, allocations: 132.4 kB / 445.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2565, allocations: 0 / 445.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.2569, allocations: 76 kB / 445.4 MB, free: 8.367 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.001021/0.2579, allocations: 1.009 MB / 446.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.2585, allocations: 326.7 kB / 446.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2585, allocations: 4.125 kB / 446.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.2589, allocations: 234.5 kB / 446.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.2593, allocations: 50.5 kB / 447 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.2629, allocations: 2.76 MB / 449.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.263, allocations: 150.7 kB / 449.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.2631, allocations: 26.28 kB / 449.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2632, allocations: 75.41 kB / 450 MB, free: 3.551 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2632, allocations: 4 kB / 450 MB, free: 3.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.3023, allocations: 5.691 MB / 455.7 MB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.61, allocations: 19.31 kB / 455.7 MB, free: 13.99 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.921516172005795]