Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001178, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.19 kB / 307 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09902, allocations: 50.52 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003966/0.103, allocations: 2.441 MB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007388/0.1038, allocations: 243.1 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.104, allocations: 4 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.1042, allocations: 43.52 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1044, allocations: 87.27 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1047, allocations: 55.92 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.105, allocations: 290.7 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1053, allocations: 97.67 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1054, allocations: 107.6 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1056, allocations: 115.5 kB / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.1057, allocations: 24 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.1058, allocations: 20 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.1058, allocations: 55.78 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.106, allocations: 131.3 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1063, allocations: 295.2 kB / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1063, allocations: 0 / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1063, allocations: 0 / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.1063, allocations: 3.984 kB / 361.6 MB, free: 9.988 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008785/0.1072, allocations: 0.5304 MB / 362.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1073, allocations: 8.031 kB / 362.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.285e-05/0.1074, allocations: 66.66 kB / 362.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.1074, allocations: 32.56 kB / 362.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1077, allocations: 234.2 kB / 362.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1078, allocations: 24.94 kB / 362.4 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.1078, allocations: 32.27 kB / 362.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1082, allocations: 236 kB / 362.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.1083, allocations: 11.92 kB / 362.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1083, allocations: 11.94 kB / 362.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1083, allocations: 8 kB / 362.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1086, allocations: 159.2 kB / 362.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1097, allocations: 0.7967 MB / 363.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.1103, allocations: 307.6 kB / 364 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1105, allocations: 126.5 kB / 364.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1105, allocations: 8 kB / 364.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1106, allocations: 38.5 kB / 364.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.1106, allocations: 0 / 364.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002933/0.1135, allocations: 1.939 MB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1136, allocations: 111.8 kB / 366.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1138, allocations: 194.6 kB / 366.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1138, allocations: 29.7 kB / 366.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.114, allocations: 140.8 kB / 366.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.1141, allocations: 157.6 kB / 366.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.1142, allocations: 70.14 kB / 366.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1143, allocations: 342.8 kB / 367.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1145, allocations: 92.84 kB / 367.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1147, allocations: 154.3 kB / 367.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.1151, allocations: 284 kB / 367.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1151, allocations: 7.938 kB / 367.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005237/0.1156, allocations: 337.2 kB / 368 MB, free: 2.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1157, allocations: 11.92 kB / 368 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1157, allocations: 4 kB / 368 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1157, allocations: 4 kB / 368 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.116, allocations: 91.84 kB / 368.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1161, allocations: 4 kB / 368.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1162, allocations: 16.09 kB / 368.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1162, allocations: 16 kB / 368.1 MB, free: 2.828 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001534/0.1164, allocations: 158.7 kB / 368.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.1165, allocations: 31.66 kB / 368.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.1165, allocations: 33.88 kB / 368.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1165, allocations: 4 kB / 368.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1166, allocations: 0 / 368.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1166, allocations: 3.984 kB / 368.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.1179, allocations: 1.07 MB / 369.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.118, allocations: 0 / 369.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.1183, allocations: 91.83 kB / 369.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.1184, allocations: 8.219 kB / 369.5 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1184, allocations: 16 kB / 369.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1184, allocations: 8 kB / 369.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1184, allocations: 0 / 369.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.1193, allocations: 0.7173 MB / 370.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.1194, allocations: 100.8 kB / 370.4 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.1194, allocations: 16.06 kB / 370.4 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.1197, allocations: 19.92 kB / 370.4 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1197, allocations: 23.97 kB / 370.4 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.1198, allocations: 16 kB / 370.4 MB, free: 380 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1199, allocations: 144.8 kB / 370.6 MB, free: 236 kB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1199, allocations: 0 / 370.6 MB, free: 236 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.1204, allocations: 72 kB / 370.6 MB, free: 164 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.1657/0.2861, allocations: 1.267 MB / 371.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.2866, allocations: 285.7 kB / 372.2 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2867, allocations: 0.75 kB / 372.2 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2869, allocations: 150.5 kB / 372.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.2877, allocations: 68.95 kB / 372.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.2911, allocations: 3.276 MB / 375.7 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2913, allocations: 0.7687 MB / 376.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.2915, allocations: 35.25 kB / 376.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2916, allocations: 94.12 kB / 376.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2916, allocations: 3.938 kB / 376.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.3172, allocations: 5.821 MB / 382.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.659, allocations: 6.406 kB / 382.4 MB, free: 15.33 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches