Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.0008601/0.0008601, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009002/0.0009002, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8683/0.8683, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.821e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003414/0.003433, allocations: 2.26 MB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004667, allocations: 0.6154 MB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.004837, allocations: 7.938 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.004995, allocations: 31.66 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.005195, allocations: 83.27 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.00554, allocations: 67.8 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.005895, allocations: 270.6 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.006089, allocations: 64.5 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.006422, allocations: 159.7 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.00655, allocations: 71.78 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.00658, allocations: 16 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.006645, allocations: 24 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.006684, allocations: 51.75 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.006763, allocations: 83.83 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.007063, allocations: 263 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.007065, allocations: 0 / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007066, allocations: 4 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.007071, allocations: 0 / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005994/0.00767, allocations: 445.7 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.007719, allocations: 15.97 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.007777, allocations: 54.73 kB / 329.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.007898, allocations: 36.78 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.008182, allocations: 178.1 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.008203, allocations: 20.75 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.008244, allocations: 20.38 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.008565, allocations: 211.4 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.008584, allocations: 4.141 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.008604, allocations: 16.12 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.008612, allocations: 4 kB / 329.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.008835, allocations: 125.9 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.009753, allocations: 0.6308 MB / 330.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.009967, allocations: 138.4 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.01005, allocations: 64.83 kB / 330.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01007, allocations: 4 kB / 330.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.01009, allocations: 30.56 kB / 330.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.01009, allocations: 0 / 330.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.00106/0.01115, allocations: 0.7489 MB / 331.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.01119, allocations: 59.34 kB / 331.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01131, allocations: 176.7 kB / 331.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.01133, allocations: 29.7 kB / 331.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.0114, allocations: 148.4 kB / 331.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.01145, allocations: 91.22 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.0115, allocations: 45.7 kB / 331.8 MB, free: 8.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.01159, allocations: 330.8 kB / 332.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.01167, allocations: 63.89 kB / 332.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.01176, allocations: 100.2 kB / 332.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.01195, allocations: 160.1 kB / 332.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01195, allocations: 4 kB / 332.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002702/0.01222, allocations: 262 kB / 332.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01223, allocations: 4 kB / 332.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01224, allocations: 0 / 332.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.01235, allocations: 40.83 kB / 332.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01247, allocations: 43.92 kB / 332.8 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007782/0.01325, allocations: 1.37 MB / 334.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.01332, allocations: 19.94 kB / 334.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.01333, allocations: 8 kB / 334.2 MB, free: 5.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 8.912e-05/0.01342, allocations: 133.8 kB / 334.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.01344, allocations: 23.86 kB / 334.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.01347, allocations: 25.95 kB / 334.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01347, allocations: 0 / 334.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01348, allocations: 0 / 334.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01348, allocations: 12 kB / 334.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.01406, allocations: 0.5966 MB / 335 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01406, allocations: 0 / 335 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.01418, allocations: 43.98 kB / 335 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.01425, allocations: 36.77 kB / 335.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01426, allocations: 8 kB / 335.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007373/0.015, allocations: 1.389 MB / 336.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.015, allocations: 0 / 336.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.01534, allocations: 397 kB / 336.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01536, allocations: 24.12 kB / 336.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.01537, allocations: 4 kB / 336.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.01543, allocations: 12.06 kB / 336.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01548, allocations: 23.89 kB / 336.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.01549, allocations: 11.98 kB / 336.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.01555, allocations: 124.1 kB / 337 MB, free: 2.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01555, allocations: 0 / 337 MB, free: 2.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.01577, allocations: 56 kB / 337.1 MB, free: 2.648 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0005422/0.01631, allocations: 0.9376 MB / 338 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.01668, allocations: 278.5 kB / 338.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01669, allocations: 0 / 338.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.01686, allocations: 206.6 kB / 338.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01713, allocations: 48.34 kB / 338.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.01908, allocations: 2.452 MB / 341 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.01917, allocations: 138.5 kB / 341.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.01923, allocations: 21.94 kB / 341.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.01931, allocations: 68.47 kB / 341.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01931, allocations: 0 / 341.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.0384, allocations: 5.615 MB / 346.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.028, allocations: 0 / 346.8 MB, free: 8.824 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 8.655713423155248]