Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 115.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 206.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 50.53 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003649/0.2523, allocations: 2.504 MB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.2528, allocations: 259 kB / 412.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2529, allocations: 8 kB / 413 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.253, allocations: 43.52 kB / 413 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.2532, allocations: 91.2 kB / 413.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.2534, allocations: 67.89 kB / 413.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.2537, allocations: 322.5 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2539, allocations: 71.11 kB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.254, allocations: 115.6 kB / 413.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2542, allocations: 131.4 kB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.2543, allocations: 24 kB / 413.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.2543, allocations: 24 kB / 413.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.2544, allocations: 63.77 kB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.2545, allocations: 147.3 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.2549, allocations: 314.5 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2549, allocations: 0 / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2549, allocations: 0 / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2549, allocations: 0 / 414.3 MB, free: 13.27 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.0008748/0.2558, allocations: 0.5767 MB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2558, allocations: 8.031 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.2559, allocations: 32.75 kB / 415 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.2562, allocations: 255.9 kB / 415.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2562, allocations: 16.94 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.2563, allocations: 32.31 kB / 415.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.2567, allocations: 271.1 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2567, allocations: 192 / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.2568, allocations: 15.94 kB / 415.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2568, allocations: 7.938 kB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.2571, allocations: 175.9 kB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2582, allocations: 0.7502 MB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.2586, allocations: 253.3 kB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.2588, allocations: 121.2 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2588, allocations: 4 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2588, allocations: 42.56 kB / 416.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.2588, allocations: 3.938 kB / 416.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002797/0.2616, allocations: 1.707 MB / 418.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.2617, allocations: 81.11 kB / 418.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.2619, allocations: 187 kB / 418.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2619, allocations: 37.7 kB / 418.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.262, allocations: 144.8 kB / 419 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.2622, allocations: 186.4 kB / 419.2 MB, free: 8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.2623, allocations: 78.25 kB / 419.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2624, allocations: 334.8 kB / 419.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.2626, allocations: 105.1 kB / 419.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2629, allocations: 157.5 kB / 419.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.2633, allocations: 286.1 kB / 420.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2633, allocations: 0 / 420.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005425/0.2638, allocations: 366 kB / 420.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2638, allocations: 10.66 kB / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2638, allocations: 0 / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2639, allocations: 4 kB / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.2643, allocations: 103.8 kB / 420.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2643, allocations: 8.062 kB / 420.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2644, allocations: 8 kB / 420.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2644, allocations: 16 kB / 420.7 MB, free: 6.512 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.0001649/0.2646, allocations: 145.8 kB / 420.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.2647, allocations: 43.72 kB / 420.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.717e-05/0.2648, allocations: 33.88 kB / 420.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2648, allocations: 4 kB / 420.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.2648, allocations: 11.94 kB / 420.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2648, allocations: 7.922 kB / 420.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2662, allocations: 0.94 MB / 421.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2662, allocations: 3.984 kB / 421.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.2666, allocations: 91.91 kB / 421.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.2666, allocations: 4 kB / 421.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2667, allocations: 11.94 kB / 421.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2667, allocations: 8.047 kB / 422 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2667, allocations: 7.938 kB / 422 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.2675, allocations: 0.6396 MB / 422.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.2676, allocations: 104.9 kB / 422.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.2676, allocations: 8 kB / 422.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2678, allocations: 16 kB / 422.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.2679, allocations: 27.95 kB / 422.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.2679, allocations: 8 kB / 422.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.268, allocations: 136.3 kB / 422.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.268, allocations: 0 / 422.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.2684, allocations: 76 kB / 423 MB, free: 4.082 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.0001524/0.2685, allocations: 127.1 kB / 423.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.269, allocations: 282.5 kB / 423.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.269, allocations: 0 / 423.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.2692, allocations: 139.8 kB / 423.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.2698, allocations: 79.3 kB / 423.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.2714, allocations: 1 MB / 424.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.2718, allocations: 0.7726 MB / 425.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.272, allocations: 38.88 kB / 425.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.2721, allocations: 31.44 kB / 425.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2721, allocations: 0 / 425.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Templates: time 0.007277/0.2793, allocations: 3.129 MB / 428.6 MB, free: 14.44 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches