Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 184.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 51.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2589, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003553/0.2625, allocations: 2.512 MB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004959/0.263, allocations: 259 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2631, allocations: 4 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.2633, allocations: 43.52 kB / 425.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2634, allocations: 95.19 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.2636, allocations: 63.92 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2639, allocations: 322.4 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2641, allocations: 75.58 kB / 426 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2642, allocations: 123.6 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.2644, allocations: 127.4 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2644, allocations: 28 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.171e-05/0.2645, allocations: 24 kB / 426.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.2645, allocations: 59.81 kB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2647, allocations: 151.2 kB / 426.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.265, allocations: 319 kB / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.265, allocations: 0 / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.265, allocations: 0 / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.265, allocations: 4 kB / 426.8 MB, free: 10.41 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000777/0.2658, allocations: 0.4898 MB / 427.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2658, allocations: 12.03 kB / 427.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.2659, allocations: 66.72 kB / 427.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.266, allocations: 36.69 kB / 427.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.2662, allocations: 178.1 kB / 427.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2663, allocations: 21.03 kB / 427.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.2663, allocations: 36.31 kB / 427.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.2667, allocations: 260.3 kB / 427.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2668, allocations: 7.938 kB / 427.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.2668, allocations: 8 kB / 427.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2668, allocations: 11.94 kB / 427.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.2671, allocations: 171.9 kB / 428.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2681, allocations: 0.7139 MB / 428.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.2685, allocations: 264.3 kB / 429 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2687, allocations: 109.7 kB / 429.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2687, allocations: 4.625 kB / 429.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2687, allocations: 46.5 kB / 429.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.2688, allocations: 0 / 429.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002465/0.2712, allocations: 1.414 MB / 430.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.2713, allocations: 89.05 kB / 430.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2714, allocations: 175.2 kB / 430.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2715, allocations: 41.64 kB / 430.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.2716, allocations: 140.9 kB / 431 MB, free: 5.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2717, allocations: 182.4 kB / 431.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2718, allocations: 74.16 kB / 431.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2719, allocations: 342.8 kB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2721, allocations: 105 kB / 431.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.2723, allocations: 156.8 kB / 431.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.2727, allocations: 283.4 kB / 432.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2727, allocations: 0 / 432.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005103/0.2732, allocations: 374 kB / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2732, allocations: 4 kB / 432.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2732, allocations: 4 kB / 432.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2733, allocations: 0 / 432.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.2736, allocations: 107.8 kB / 432.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2736, allocations: 4.062 kB / 432.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2737, allocations: 16 kB / 432.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2738, allocations: 16 kB / 432.7 MB, free: 4.176 MB / 334.1 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 0.0001369/0.2739, allocations: 145.8 kB / 432.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.274, allocations: 31.8 kB / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.099e-05/0.2741, allocations: 41.95 kB / 432.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2741, allocations: 7.938 kB / 432.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2741, allocations: 0 / 432.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2741, allocations: 4 kB / 432.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.2753, allocations: 0.9144 MB / 433.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2753, allocations: 0 / 433.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.2757, allocations: 95.89 kB / 433.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-06/0.2757, allocations: 7.938 kB / 433.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2757, allocations: 8 kB / 433.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2757, allocations: 8.062 kB / 433.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2757, allocations: 3.938 kB / 433.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.2765, allocations: 0.6432 MB / 434.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2765, allocations: 31.73 kB / 434.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.2766, allocations: 8 kB / 434.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2767, allocations: 12 kB / 434.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2768, allocations: 31.89 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2768, allocations: 15.98 kB / 434.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.2769, allocations: 124.4 kB / 434.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2769, allocations: 0 / 434.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.2773, allocations: 84 kB / 434.9 MB, free: 1.879 MB / 334.1 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.00106/0.2783, allocations: 1.192 MB / 436.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.2788, allocations: 281.3 kB / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2788, allocations: 0 / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.279, allocations: 151.9 kB / 436.5 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2796, allocations: 70.62 kB / 436.6 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.2834, allocations: 3.279 MB / 439.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.2838, allocations: 0.7805 MB / 440.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2839, allocations: 30.97 kB / 440.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.2841, allocations: 99.34 kB / 440.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2841, allocations: 0 / 440.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.3197, allocations: 6.514 MB / 447.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.27, allocations: 6.172 kB / 447.3 MB, free: 5.461 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.633494299836457]