Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 104.3 kB / 17.32 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 205.8 kB / 18.26 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.4 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 56.25 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09776, allocations: 50.53 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003575/0.1014, allocations: 2.545 MB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006681/0.1021, allocations: 255 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.1023, allocations: 4 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.1025, allocations: 31.77 kB / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1028, allocations: 79.33 kB / 359.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.103, allocations: 51.94 kB / 359.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.1034, allocations: 322.5 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1036, allocations: 111 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1038, allocations: 111.6 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.104, allocations: 135.4 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.104, allocations: 28 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.1041, allocations: 24 kB / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1042, allocations: 55.78 kB / 360.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1043, allocations: 151.3 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1046, allocations: 311.1 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1046, allocations: 0 / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1046, allocations: 0 / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1046, allocations: 0 / 361.1 MB, free: 10.21 MB / 302.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.0007649/0.1054, allocations: 0.5615 MB / 361.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1054, allocations: 8.031 kB / 361.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.1055, allocations: 32.56 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1057, allocations: 255.8 kB / 362 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1058, allocations: 16.94 kB / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.1058, allocations: 32.28 kB / 362 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1062, allocations: 259.1 kB / 362.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1063, allocations: 4.125 kB / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1063, allocations: 15.94 kB / 362.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1063, allocations: 4 kB / 362.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1066, allocations: 179.9 kB / 362.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1077, allocations: 0.7536 MB / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1081, allocations: 271.7 kB / 363.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1083, allocations: 126.3 kB / 363.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1083, allocations: 7.906 kB / 363.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1083, allocations: 42.5 kB / 363.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 4.068e-06/0.1083, allocations: 0 / 363.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002534/0.1109, allocations: 1.706 MB / 365.4 MB, free: 5.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1109, allocations: 85.11 kB / 365.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1111, allocations: 190.1 kB / 365.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1111, allocations: 29.7 kB / 365.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.1112, allocations: 148.6 kB / 365.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1113, allocations: 173.5 kB / 366 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.1114, allocations: 78.25 kB / 366.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1115, allocations: 338.8 kB / 366.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1117, allocations: 101.1 kB / 366.5 MB, free: 4.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1119, allocations: 157.5 kB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.1123, allocations: 284.7 kB / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1123, allocations: 0 / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005719/0.1129, allocations: 365.8 kB / 367.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1129, allocations: 4 kB / 367.3 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1129, allocations: 0 / 367.3 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1129, allocations: 4 kB / 367.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1133, allocations: 103.8 kB / 367.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1133, allocations: 4 kB / 367.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1135, allocations: 16.06 kB / 367.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1135, allocations: 12 kB / 367.4 MB, free: 3.473 MB / 302.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.0001237/0.1136, allocations: 149.8 kB / 367.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.1137, allocations: 39.55 kB / 367.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/0.1138, allocations: 37.88 kB / 367.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1138, allocations: 4 kB / 367.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1138, allocations: 3.938 kB / 367.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1138, allocations: 3.984 kB / 367.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.115, allocations: 0.9467 MB / 368.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.115, allocations: 11.98 kB / 368.6 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.1154, allocations: 91.91 kB / 368.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1154, allocations: 4 kB / 368.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.1155, allocations: 15.94 kB / 368.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.1155, allocations: 3.984 kB / 368.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1155, allocations: 8 kB / 368.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.1162, allocations: 0.6432 MB / 369.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.1163, allocations: 104.7 kB / 369.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1163, allocations: 12 kB / 369.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.1165, allocations: 11.98 kB / 369.5 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1166, allocations: 27.95 kB / 369.5 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1166, allocations: 12 kB / 369.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.1167, allocations: 127.2 kB / 369.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1167, allocations: 4 kB / 369.7 MB, free: 1.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1171, allocations: 80 kB / 369.8 MB, free: 1.023 MB / 302.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.0001375/0.1172, allocations: 115.1 kB / 369.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.1178, allocations: 311.6 kB / 370.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1178, allocations: 0 / 370.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.118, allocations: 154.8 kB / 370.3 MB, free: 464 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.1186, allocations: 72.28 kB / 370.4 MB, free: 392 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1392/0.2579, allocations: 1.108 MB / 371.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2581, allocations: 0.7748 MB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.2583, allocations: 30.67 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.2584, allocations: 27.44 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2584, allocations: 4 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of Templates: time 0.006645/0.2651, allocations: 3.042 MB / 375.4 MB, free: 19.04 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches