Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004869/0.004869, allocations: 114.3 kB / 21.97 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 211.4 kB / 25.27 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 59.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2373, allocations: 49.15 MB / 397.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002917/0.2403, allocations: 2.472 MB / 399.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004028/0.2407, allocations: 257.8 kB / 399.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2408, allocations: 7.531 kB / 399.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2409, allocations: 45.11 kB / 399.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.241, allocations: 94.83 kB / 400 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.2412, allocations: 62.72 kB / 400.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2415, allocations: 328.1 kB / 400.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2416, allocations: 81.17 kB / 400.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2417, allocations: 121.8 kB / 400.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.2419, allocations: 131.9 kB / 400.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.2419, allocations: 25.03 kB / 400.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.242, allocations: 24.28 kB / 400.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.242, allocations: 61.31 kB / 400.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2421, allocations: 143.5 kB / 400.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.2424, allocations: 315.7 kB / 401.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2424, allocations: 0.875 kB / 401.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2424, allocations: 0 / 401.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2425, allocations: 0 / 401.3 MB, free: 6.359 MB / 318.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.0007029/0.2432, allocations: 0.502 MB / 401.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2432, allocations: 16.77 kB / 401.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.2432, allocations: 11.53 kB / 401.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.2433, allocations: 61.73 kB / 401.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.2433, allocations: 32.84 kB / 401.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2436, allocations: 189.8 kB / 402.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2436, allocations: 19.69 kB / 402.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.2436, allocations: 26.38 kB / 402.1 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.244, allocations: 254.9 kB / 402.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.244, allocations: 10.02 kB / 402.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.2441, allocations: 10.62 kB / 402.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2441, allocations: 7.312 kB / 402.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.2443, allocations: 172.1 kB / 402.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008598/0.2452, allocations: 0.7118 MB / 403.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.2456, allocations: 265.5 kB / 403.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2457, allocations: 120 kB / 403.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2458, allocations: 3.312 kB / 403.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2458, allocations: 32.72 kB / 403.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.492e-06/0.2458, allocations: 1.281 kB / 403.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002382/0.2482, allocations: 1.412 MB / 405.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2482, allocations: 85.14 kB / 405.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2483, allocations: 189.3 kB / 405.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2484, allocations: 35.27 kB / 405.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.2484, allocations: 146 kB / 405.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.2485, allocations: 184.5 kB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.2486, allocations: 70.39 kB / 405.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.2487, allocations: 340.7 kB / 406.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2488, allocations: 106 kB / 406.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.249, allocations: 154.4 kB / 406.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.2493, allocations: 285.1 kB / 406.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2493, allocations: 0 / 406.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004467/0.2498, allocations: 380.8 kB / 407 MB, free: 2.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2498, allocations: 5.938 kB / 407 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2498, allocations: 2.062 kB / 407 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2498, allocations: 2.656 kB / 407 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.2502, allocations: 99.59 kB / 407.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2502, allocations: 3.812 kB / 407.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2503, allocations: 6.531 kB / 407.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2503, allocations: 19.06 kB / 407.2 MB, free: 2.465 MB / 318.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.0001037/0.2504, allocations: 159 kB / 407.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.2505, allocations: 35.66 kB / 407.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.2505, allocations: 40.16 kB / 407.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2505, allocations: 4.875 kB / 407.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2506, allocations: 0.9688 kB / 407.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2506, allocations: 8.125 kB / 407.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2516, allocations: 0.9119 MB / 408.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2516, allocations: 1.891 kB / 408.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.252, allocations: 92.14 kB / 408.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.252, allocations: 6.688 kB / 408.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.252, allocations: 15.2 kB / 408.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.252, allocations: 3.594 kB / 408.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.252, allocations: 1.375 kB / 408.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.2526, allocations: 0.6376 MB / 409.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.2527, allocations: 30.27 kB / 409.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2527, allocations: 11.75 kB / 409.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2529, allocations: 11.19 kB / 409.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.2529, allocations: 28.52 kB / 409.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.253, allocations: 13.05 kB / 409.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.253, allocations: 136.8 kB / 409.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.253, allocations: 0 / 409.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.2534, allocations: 78.28 kB / 409.4 MB, free: 1.094 MB / 318.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.0008059/0.2542, allocations: 1.193 MB / 410.6 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.2546, allocations: 277.2 kB / 410.8 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2546, allocations: 1.562 kB / 410.8 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.2548, allocations: 142.4 kB / 411 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.2554, allocations: 70.81 kB / 411 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.2593, allocations: 3.302 MB / 414.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2597, allocations: 0.7746 MB / 415.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.2599, allocations: 33.02 kB / 415.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.26, allocations: 104.9 kB / 415.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.26, allocations: 0 / 415.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.2889, allocations: 6.538 MB / 421.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.87, allocations: 6.484 kB / 421.8 MB, free: 9.801 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.34852697700262]