Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008338/0.0008338, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009551/0.0009552, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.358, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002643, allocations: 8 kB / 308.4 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1002, allocations: 51.52 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002568/0.1028, allocations: 2.119 MB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1041, allocations: 0.6467 MB / 362.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1043, allocations: 15.94 kB / 362.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1044, allocations: 19.78 kB / 362.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1046, allocations: 59.53 kB / 362.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1049, allocations: 67.88 kB / 362.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.1052, allocations: 246.9 kB / 363.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1054, allocations: 77.91 kB / 363.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1056, allocations: 99.56 kB / 363.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1058, allocations: 99.44 kB / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1058, allocations: 12 kB / 363.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.1059, allocations: 15.98 kB / 363.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.1059, allocations: 35.84 kB / 363.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1061, allocations: 129.1 kB / 363.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1063, allocations: 191.8 kB / 363.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1063, allocations: 3.938 kB / 363.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1063, allocations: 0 / 363.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1063, allocations: 0 / 363.7 MB, free: 9.195 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007093/0.107, allocations: 499.1 kB / 364.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1071, allocations: 8.031 kB / 364.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.1073, allocations: 48.64 kB / 364.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1076, allocations: 247.8 kB / 364.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1076, allocations: 16.81 kB / 364.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.1077, allocations: 24.36 kB / 364.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1081, allocations: 229.2 kB / 364.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1081, allocations: 0 / 364.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1082, allocations: 4 kB / 364.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1082, allocations: 8 kB / 364.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.1085, allocations: 154.9 kB / 364.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1097, allocations: 0.8026 MB / 365.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1101, allocations: 205 kB / 365.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.1104, allocations: 109.7 kB / 366 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1104, allocations: 4 kB / 366 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1104, allocations: 46.56 kB / 366.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.1104, allocations: 0 / 366.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001625/0.1121, allocations: 0.8868 MB / 367 MB, free: 5.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1121, allocations: 81.11 kB / 367.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1123, allocations: 178.6 kB / 367.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1123, allocations: 33.7 kB / 367.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.1124, allocations: 140.3 kB / 367.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.1125, allocations: 94.66 kB / 367.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1126, allocations: 29.7 kB / 367.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1127, allocations: 330.8 kB / 367.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1128, allocations: 71.97 kB / 367.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.113, allocations: 116.2 kB / 368 MB, free: 4.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.1134, allocations: 206.6 kB / 368.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1134, allocations: 0 / 368.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004328/0.1138, allocations: 253.2 kB / 368.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1138, allocations: 6.812 kB / 368.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1139, allocations: 4 kB / 368.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1139, allocations: 0 / 368.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.1141, allocations: 67.91 kB / 368.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1142, allocations: 3.984 kB / 368.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1143, allocations: 23.97 kB / 368.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1143, allocations: 8 kB / 368.6 MB, free: 3.945 MB / 302.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.0001202/0.1144, allocations: 137.7 kB / 368.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.1145, allocations: 23.72 kB / 368.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.1146, allocations: 29.86 kB / 368.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1146, allocations: 7.938 kB / 368.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1146, allocations: 0 / 368.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1146, allocations: 0 / 368.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/0.1154, allocations: 0.5893 MB / 369.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1155, allocations: 0 / 369.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1157, allocations: 68 kB / 369.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1158, allocations: 4 kB / 369.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1158, allocations: 7.984 kB / 369.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.1158, allocations: 4 kB / 369.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1158, allocations: 7.875 kB / 369.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.1164, allocations: 0.4948 MB / 370 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1165, allocations: 92.83 kB / 370 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1166, allocations: 12 kB / 370.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1167, allocations: 16.03 kB / 370.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.1168, allocations: 15.92 kB / 370.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1168, allocations: 11.98 kB / 370.1 MB, free: 2.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.312e-05/0.1169, allocations: 132.9 kB / 370.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1169, allocations: 0 / 370.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1173, allocations: 48 kB / 370.3 MB, free: 2.137 MB / 302.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.000117/0.1174, allocations: 111.7 kB / 370.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.1178, allocations: 187.8 kB / 370.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1178, allocations: 0 / 370.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.118, allocations: 104.1 kB / 370.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.1185, allocations: 42.09 kB / 370.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1197, allocations: 0.8866 MB / 371.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1763/0.296, allocations: 0.7521 MB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.2962, allocations: 20.84 kB / 372.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of SimCode: time 1.393e-06/0.2962, allocations: 0 / 372.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of Templates: time 0.006902/0.3031, allocations: 2.599 MB / 375 MB, free: 18.32 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches