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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 110.2 kB / 18.4 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 189.5 kB / 19.35 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 51.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07224/0.0735, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003305/0.07684, allocations: 2.462 MB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005391/0.0774, allocations: 255 kB / 378.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.07755, allocations: 4 kB / 378.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.07771, allocations: 43.58 kB / 378.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.07789, allocations: 99.12 kB / 378.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.07807, allocations: 59.92 kB / 378.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.0784, allocations: 330.3 kB / 379 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.07859, allocations: 111 kB / 379.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.07873, allocations: 111.6 kB / 379.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.0789, allocations: 131.4 kB / 379.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.07895, allocations: 24 kB / 379.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.943e-05/0.07901, allocations: 24 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.07906, allocations: 63.75 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.0792, allocations: 143.3 kB / 379.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.07952, allocations: 326.6 kB / 380 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.07953, allocations: 0 / 380 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.07954, allocations: 0 / 380 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.07955, allocations: 3.938 kB / 380 MB, free: 432 kB / 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.1449/0.2245, allocations: 0.5678 MB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2246, allocations: 8.812 kB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.2246, allocations: 33.84 kB / 380.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2249, allocations: 243.6 kB / 380.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.225, allocations: 24.78 kB / 380.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.225, allocations: 29 kB / 380.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.2254, allocations: 247.4 kB / 381.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2255, allocations: 7.984 kB / 381.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.2255, allocations: 15.91 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2255, allocations: 8.406 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.2258, allocations: 173.3 kB / 381.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.2267, allocations: 0.7447 MB / 382.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.2271, allocations: 274.6 kB / 382.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.2273, allocations: 127 kB / 382.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.2273, allocations: 3.281 kB / 382.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2273, allocations: 40.55 kB / 382.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.874e-06/0.2274, allocations: 0 / 382.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002439/0.2298, allocations: 1.723 MB / 384.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.2298, allocations: 83.55 kB / 384.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.23, allocations: 187.1 kB / 384.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.23, allocations: 38.45 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.2301, allocations: 139.1 kB / 384.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.2302, allocations: 182.2 kB / 384.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.2303, allocations: 73.25 kB / 384.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.2303, allocations: 337.4 kB / 385.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2305, allocations: 108 kB / 385.3 MB, free: 10.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2307, allocations: 153.7 kB / 385.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.231, allocations: 284.8 kB / 385.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.231, allocations: 4.156 kB / 385.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004669/0.2315, allocations: 374 kB / 386.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2315, allocations: 6.828 kB / 386.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2315, allocations: 0 / 386.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2316, allocations: 2.875 kB / 386.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.2319, allocations: 105.7 kB / 386.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.232, allocations: 2 kB / 386.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2321, allocations: 15.64 kB / 386.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.2321, allocations: 15.84 kB / 386.3 MB, free: 9.648 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.0001007/0.2322, allocations: 158.7 kB / 386.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.2323, allocations: 36.08 kB / 386.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.2324, allocations: 38.59 kB / 386.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.2324, allocations: 3.562 kB / 386.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2324, allocations: 0 / 386.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.2324, allocations: 97.98 kB / 386.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.2325, allocations: 15.25 kB / 386.6 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2327, allocations: 10.12 kB / 386.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.2327, allocations: 23.52 kB / 386.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007814/0.2335, allocations: 0.5335 MB / 387.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006612/0.2342, allocations: 0.7246 MB / 387.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001759/0.2344, allocations: 139 kB / 388 MB, free: 8.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.2345, allocations: 140.4 kB / 388.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of Backend: time 4.71e-07/0.2345, allocations: 0 / 388.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.2351, allocations: 265.7 kB / 388.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of SimCode: time 0.00135/0.2365, allocations: 1.413 MB / 389.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Templates: time 0.007268/0.2438, allocations: 3.795 MB / 393.6 MB, free: 6.875 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) 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) Reference file matches