Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 110.5 kB / 17.73 MB, free: 5.301 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.001283/0.001283, allocations: 187 kB / 18.66 MB, free: 4.375 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.547/1.547, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001282/0.001282, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09992, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003989/0.104, allocations: 2.403 MB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1053, allocations: 0.62 MB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.1055, allocations: 7.938 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.1057, allocations: 43.58 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1059, allocations: 67.36 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1062, allocations: 55.91 kB / 378.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.1065, allocations: 250.9 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.1068, allocations: 101.3 kB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.107, allocations: 99.7 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1072, allocations: 107.5 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.1073, allocations: 20 kB / 378.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.1074, allocations: 20 kB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1074, allocations: 51.83 kB / 379 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1076, allocations: 119.4 kB / 379.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.1079, allocations: 259 kB / 379.3 MB, free: 364 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1079, allocations: 0 / 379.3 MB, free: 364 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1079, allocations: 3.938 kB / 379.3 MB, free: 360 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1079, allocations: 0 / 379.3 MB, free: 360 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.212/0.3199, allocations: 0.5069 MB / 379.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.32, allocations: 15.09 kB / 379.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.3201, allocations: 25.03 kB / 379.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.3204, allocations: 245.8 kB / 380.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.3204, allocations: 16.41 kB / 380.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.3205, allocations: 20.03 kB / 380.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.321, allocations: 223.8 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.321, allocations: 1 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.321, allocations: 10.67 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.321, allocations: 5.812 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.3214, allocations: 141.2 kB / 380.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3225, allocations: 0.7829 MB / 381.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3229, allocations: 199 kB / 381.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.3231, allocations: 109.2 kB / 381.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3232, allocations: 1.375 kB / 381.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3232, allocations: 43.67 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.3232, allocations: 2.312 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001607/0.3248, allocations: 0.8537 MB / 382.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3249, allocations: 81.88 kB / 382.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3251, allocations: 178.3 kB / 382.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3251, allocations: 34.8 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.3252, allocations: 140.9 kB / 382.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.3252, allocations: 92.92 kB / 383 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.3253, allocations: 50.61 kB / 383.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.3254, allocations: 330.1 kB / 383.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.3256, allocations: 66 kB / 383.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.3258, allocations: 110.9 kB / 383.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.3261, allocations: 187.6 kB / 383.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3262, allocations: 0.5625 kB / 383.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004355/0.3266, allocations: 250.8 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3266, allocations: 8.219 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3266, allocations: 1.344 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3267, allocations: 6.438 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.3269, allocations: 66.95 kB / 384.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.327, allocations: 5.547 kB / 384.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3271, allocations: 16.12 kB / 384.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3271, allocations: 6.578 kB / 384.1 MB, free: 10.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001009/0.3272, allocations: 136.2 kB / 384.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.3273, allocations: 26.56 kB / 384.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.3274, allocations: 28.05 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3274, allocations: 7.562 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3274, allocations: 1.094 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3274, allocations: 2.672 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.3281, allocations: 0.5829 MB / 384.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3282, allocations: 1.062 kB / 384.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.3284, allocations: 57.33 kB / 384.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3284, allocations: 6.344 kB / 385 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3285, allocations: 7.703 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3285, allocations: 2.812 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3285, allocations: 5.375 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.3291, allocations: 0.4924 MB / 385.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3291, allocations: 100.2 kB / 385.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.3292, allocations: 4.672 kB / 385.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3293, allocations: 10.94 kB / 385.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.3294, allocations: 26.41 kB / 385.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3294, allocations: 11.19 kB / 385.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.413e-05/0.3295, allocations: 133.6 kB / 385.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3295, allocations: 1.938 kB / 385.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.3299, allocations: 48.84 kB / 385.8 MB, free: 9.449 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.0001061/0.33, allocations: 108.1 kB / 385.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.3304, allocations: 172.3 kB / 386.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3304, allocations: 8.125 kB / 386.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3306, allocations: 97.45 kB / 386.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3311, allocations: 36.05 kB / 386.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.3322, allocations: 0.6799 MB / 386.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3324, allocations: 0.7464 MB / 387.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.705e-05/0.3325, allocations: 22.61 kB / 387.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.3326, allocations: 20.86 kB / 387.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3326, allocations: 0 / 387.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Templates: time 0.006888/0.3395, allocations: 2.07 MB / 389.7 MB, free: 7.934 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches