Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.0007953/0.0007953, 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.0008024/0.0008024, allocations: 160.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.8625/0.8625, allocations: 177 MB / 204.1 MB, free: 5.746 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.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.269e-05, allocations: 3.266 kB / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002075/0.002088, allocations: 2.328 MB / 326.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003443/0.002432, allocations: 255 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.668e-05/0.002519, allocations: 7.938 kB / 327.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.00263, allocations: 39.58 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.002735, allocations: 103.1 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.00287, allocations: 63.91 kB / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.003079, allocations: 338.2 kB / 327.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.00322, allocations: 75.53 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.003345, allocations: 183.6 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.003448, allocations: 95.69 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.00348, allocations: 24 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.003503, allocations: 24 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.003535, allocations: 51.83 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.003598, allocations: 107.7 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.003815, allocations: 326.9 kB / 328.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003817, allocations: 0 / 328.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003817, allocations: 0 / 328.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003821, allocations: 0 / 328.5 MB, free: 11.78 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0004869/0.004308, allocations: 0.4937 MB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.004341, allocations: 15.98 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.004383, allocations: 58.73 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.00442, allocations: 32.75 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.004611, allocations: 197.3 kB / 329.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.004626, allocations: 17.03 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.004658, allocations: 28.38 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.004915, allocations: 248.4 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.004927, allocations: 4.172 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.004945, allocations: 12.38 kB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.004955, allocations: 12.12 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.005152, allocations: 179.8 kB / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.005773, allocations: 0.6516 MB / 330.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.006284, allocations: 260.2 kB / 330.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.006394, allocations: 120.8 kB / 330.8 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.006408, allocations: 4 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.006427, allocations: 42.5 kB / 330.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.333e-06/0.006428, allocations: 4 kB / 330.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001481/0.007909, allocations: 1.416 MB / 332.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.007949, allocations: 85.09 kB / 332.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.00806, allocations: 199.6 kB / 332.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.008076, allocations: 29.7 kB / 332.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.008137, allocations: 140.8 kB / 332.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.008211, allocations: 178.5 kB / 332.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.008275, allocations: 74.2 kB / 332.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.008356, allocations: 342.8 kB / 333.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.008468, allocations: 100.9 kB / 333.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.008616, allocations: 160.8 kB / 333.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.00891, allocations: 278.2 kB / 333.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008912, allocations: 4 kB / 333.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003211/0.009233, allocations: 366 kB / 334.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.009246, allocations: 7.938 kB / 334.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.009251, allocations: 7.938 kB / 334.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.009262, allocations: 0 / 334.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.009468, allocations: 103.9 kB / 334.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009474, allocations: 0 / 334.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.009529, allocations: 12 kB / 334.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.009544, allocations: 16 kB / 334.3 MB, free: 5.613 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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 9.109e-05/0.009635, allocations: 157.7 kB / 334.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.009673, allocations: 31.81 kB / 334.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.009721, allocations: 49.88 kB / 334.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009723, allocations: 4 kB / 334.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.009727, allocations: 0 / 334.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.009732, allocations: 7.984 kB / 334.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.01046, allocations: 0.8572 MB / 335.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01047, allocations: 0 / 335.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.01068, allocations: 99.95 kB / 335.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01068, allocations: 4 kB / 335.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.0107, allocations: 12 kB / 335.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0107, allocations: 4 kB / 335.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.0107, allocations: 7.875 kB / 335.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.01118, allocations: 0.6418 MB / 336.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.0112, allocations: 23.84 kB / 336.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01123, allocations: 16 kB / 336.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.01131, allocations: 15.94 kB / 336.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.01134, allocations: 19.95 kB / 336.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.01135, allocations: 20 kB / 336.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.01141, allocations: 135.2 kB / 336.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 3.938 kB / 336.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.01163, allocations: 76 kB / 336.5 MB, free: 3.344 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.0008852/0.01252, allocations: 1.202 MB / 337.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.0128, allocations: 279.1 kB / 338 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.0128, allocations: 0 / 338 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.01293, allocations: 152 kB / 338.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01327, allocations: 52.81 kB / 338.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.01548, allocations: 3.122 MB / 341.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.01558, allocations: 172.7 kB / 341.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.816e-05/0.01566, allocations: 34.97 kB / 341.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.01576, allocations: 96.47 kB / 341.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01576, allocations: 0 / 341.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.03464, allocations: 6.976 MB / 348.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.848, allocations: 7.922 kB / 348.6 MB, free: 7.246 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.525870548561215]