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.00121/0.00121, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001219/0.001219, allocations: 184.4 kB / 24.48 MB, free: 3.965 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.321/1.321, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 52.18 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003453/0.2347, allocations: 2.315 MB / 425.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.2352, allocations: 255 kB / 425.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2353, allocations: 4 kB / 425.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2354, allocations: 47.52 kB / 426 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.2356, allocations: 95.19 kB / 426 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2357, allocations: 63.91 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.2361, allocations: 318.5 kB / 426.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2362, allocations: 75.58 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.2364, allocations: 123.6 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2365, allocations: 135.3 kB / 426.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.2366, allocations: 28 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.2366, allocations: 24 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.2367, allocations: 63.81 kB / 426.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2368, allocations: 115.5 kB / 427 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.2371, allocations: 316.9 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2371, allocations: 0 / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2371, allocations: 0 / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2371, allocations: 0 / 427.3 MB, free: 10.45 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.0007832/0.2379, allocations: 0.5054 MB / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.238, allocations: 8.031 kB / 427.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.682e-05/0.238, allocations: 12.84 kB / 427.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.238, allocations: 58.73 kB / 427.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.2381, allocations: 32.75 kB / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.2384, allocations: 186.1 kB / 428.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2384, allocations: 17.03 kB / 428.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.2384, allocations: 32.33 kB / 428.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.2388, allocations: 268 kB / 428.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.2389, allocations: 0 / 428.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2389, allocations: 12 kB / 428.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2389, allocations: 7.938 kB / 428.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.2392, allocations: 175.9 kB / 428.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/0.2402, allocations: 0.6516 MB / 429.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.2406, allocations: 268.9 kB / 429.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.2407, allocations: 121.7 kB / 429.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2407, allocations: 4.625 kB / 429.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2408, allocations: 38.5 kB / 429.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.704e-06/0.2408, allocations: 0 / 429.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002409/0.2432, allocations: 1.422 MB / 431.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2432, allocations: 85.11 kB / 431.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.2434, allocations: 179.2 kB / 431.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2434, allocations: 37.7 kB / 431.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.2435, allocations: 136.9 kB / 431.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2437, allocations: 182.4 kB / 431.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2438, allocations: 74.16 kB / 431.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2439, allocations: 342.8 kB / 432.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2441, allocations: 101 kB / 432.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.2443, allocations: 160.8 kB / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.2446, allocations: 287.2 kB / 432.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2446, allocations: 0 / 432.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005052/0.2452, allocations: 370 kB / 433 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2452, allocations: 10.5 kB / 433 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2452, allocations: 3.984 kB / 433 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2452, allocations: 4 kB / 433 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.2456, allocations: 103.8 kB / 433.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2456, allocations: 8.062 kB / 433.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2457, allocations: 12 kB / 433.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.2457, allocations: 8 kB / 433.1 MB, free: 4.254 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.0001402/0.2458, allocations: 161.7 kB / 433.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.2459, allocations: 23.86 kB / 433.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.246, allocations: 41.95 kB / 433.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.246, allocations: 4 kB / 433.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.246, allocations: 0 / 433.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.246, allocations: 0 / 433.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2472, allocations: 0.8794 MB / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.2472, allocations: 4 kB / 434.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.2476, allocations: 95.83 kB / 434.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.2477, allocations: 7.938 kB / 434.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.2477, allocations: 8 kB / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2477, allocations: 4 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2477, allocations: 0 / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.2484, allocations: 0.6432 MB / 435 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.2485, allocations: 27.75 kB / 435 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2485, allocations: 20 kB / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2487, allocations: 11.98 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.2487, allocations: 23.95 kB / 435.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2487, allocations: 12 kB / 435.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2488, allocations: 136.4 kB / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2488, allocations: 0 / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.2492, allocations: 76 kB / 435.3 MB, free: 1.996 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.001054/0.2502, allocations: 1.184 MB / 436.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.2507, allocations: 290.6 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2507, allocations: 0 / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.2509, allocations: 146.5 kB / 436.9 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.2514, allocations: 70.14 kB / 437 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.2551, allocations: 3.279 MB / 440.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.2553, allocations: 172.8 kB / 440.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2554, allocations: 34.95 kB / 440.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2555, allocations: 95.41 kB / 440.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2555, allocations: 0 / 440.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.2831, allocations: 6.62 MB / 447.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 6.641 kB / 447.2 MB, free: 6.129 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.393591591040604]