Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001282/0.001282, allocations: 192 kB / 18.51 MB, free: 4.508 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.311/1.311, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002474/0.002474, allocations: 56.25 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.0982, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004103/0.1023, allocations: 2.409 MB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.1031, allocations: 235.1 kB / 330 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1033, allocations: 4 kB / 330 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.1035, allocations: 39.58 kB / 330.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1037, allocations: 87.2 kB / 330.1 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1039, allocations: 67.91 kB / 330.2 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.1042, allocations: 290.6 kB / 330.5 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1044, allocations: 93.95 kB / 330.6 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1046, allocations: 107.6 kB / 330.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1049, allocations: 119.5 kB / 330.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.1049, allocations: 20 kB / 330.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.783e-05/0.105, allocations: 24 kB / 330.9 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.105, allocations: 55.83 kB / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1052, allocations: 135.3 kB / 331 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1055, allocations: 286.9 kB / 331.3 MB, free: 424 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1055, allocations: 0 / 331.3 MB, free: 424 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1055, allocations: 0 / 331.3 MB, free: 424 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1055, allocations: 0 / 331.3 MB, free: 424 kB / 270.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.0007522/0.1062, allocations: 0.5458 MB / 331.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1063, allocations: 8.031 kB / 331.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.1064, allocations: 58.73 kB / 331.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.1064, allocations: 32.59 kB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1067, allocations: 240.5 kB / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1067, allocations: 20.94 kB / 332.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1067, allocations: 28.38 kB / 332.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.1072, allocations: 244 kB / 332.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1072, allocations: 7.844 kB / 332.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.1072, allocations: 12 kB / 332.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1073, allocations: 4 kB / 332.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.1075, allocations: 155.9 kB / 332.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.1084, allocations: 0.8008 MB / 333.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.1089, allocations: 287.7 kB / 333.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1092, allocations: 130.5 kB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1093, allocations: 11.98 kB / 333.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1093, allocations: 42.48 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.704e-06/0.1093, allocations: 0 / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002503/0.1118, allocations: 1.942 MB / 335.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1119, allocations: 110.8 kB / 336 MB, free: 11.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1121, allocations: 194.5 kB / 336.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1121, allocations: 33.64 kB / 336.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.1122, allocations: 140.7 kB / 336.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.1123, allocations: 161.6 kB / 336.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.1124, allocations: 70.14 kB / 336.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1125, allocations: 338.8 kB / 336.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1126, allocations: 92.83 kB / 337 MB, free: 10.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1128, allocations: 158.3 kB / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.1132, allocations: 278.3 kB / 337.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1132, allocations: 4 kB / 337.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005313/0.1137, allocations: 341 kB / 337.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1137, allocations: 7.938 kB / 337.8 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1138, allocations: 3.938 kB / 337.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1138, allocations: 4 kB / 337.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.1141, allocations: 95.83 kB / 337.9 MB, free: 9.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1141, allocations: 4 kB / 337.9 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1142, allocations: 12 kB / 337.9 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1143, allocations: 16.09 kB / 337.9 MB, free: 9.246 MB / 286.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.0001288/0.1144, allocations: 153.7 kB / 338 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.1145, allocations: 27.66 kB / 338.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.1146, allocations: 37.86 kB / 338.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1146, allocations: 8 kB / 338.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1146, allocations: 4.938 kB / 338.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1146, allocations: 3.984 kB / 338.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.1159, allocations: 1.054 MB / 339.2 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.116, allocations: 3.938 kB / 339.2 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.1163, allocations: 91.94 kB / 339.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.1163, allocations: 15.86 kB / 339.3 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1164, allocations: 8 kB / 339.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1164, allocations: 8.281 kB / 339.3 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1164, allocations: 4 kB / 339.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.1171, allocations: 0.7208 MB / 340 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1171, allocations: 108.8 kB / 340.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1172, allocations: 8 kB / 340.1 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1174, allocations: 12 kB / 340.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.1175, allocations: 39.89 kB / 340.2 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.1175, allocations: 12 kB / 340.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1177, allocations: 144.2 kB / 340.3 MB, free: 6.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 340.3 MB, free: 6.641 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.1181, allocations: 72 kB / 340.4 MB, free: 6.57 MB / 286.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.0008672/0.119, allocations: 1.259 MB / 341.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.1194, allocations: 287.1 kB / 341.9 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.1194, allocations: 0 / 341.9 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.1197, allocations: 152 kB / 342.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.1204, allocations: 66.23 kB / 342.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.124, allocations: 3.293 MB / 345.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1243, allocations: 0.7759 MB / 346.2 MB, free: 496 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1244, allocations: 34.95 kB / 346.3 MB, free: 464 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1246, allocations: 91.42 kB / 346.4 MB, free: 376 kB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1246, allocations: 0 / 346.4 MB, free: 376 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.1503, allocations: 5.81 MB / 352.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/8.753, allocations: 8.359 kB / 352.2 MB, free: 10.48 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches