Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.001353/0.001353, allocations: 113.8 kB / 17.07 MB, free: 5.969 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.001358/0.001358, allocations: 193.3 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2444, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003954/0.2484, allocations: 2.354 MB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2495, allocations: 0.5765 MB / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2497, allocations: 7.938 kB / 403.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2499, allocations: 35.66 kB / 403.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.25, allocations: 71.33 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2502, allocations: 51.94 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.2506, allocations: 266.7 kB / 403.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2508, allocations: 92.27 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.251, allocations: 95.64 kB / 403.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.2511, allocations: 103.5 kB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.2512, allocations: 20 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.03e-05/0.2512, allocations: 24 kB / 403.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.2513, allocations: 51.78 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2514, allocations: 111.5 kB / 404.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.2518, allocations: 246.1 kB / 404.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2518, allocations: 0 / 404.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2518, allocations: 0 / 404.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2518, allocations: 7.984 kB / 404.3 MB, free: 4.707 MB / 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.0007703/0.2526, allocations: 0.5066 MB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2526, allocations: 12.03 kB / 404.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.087e-05/0.2527, allocations: 58.67 kB / 404.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.2528, allocations: 32.73 kB / 404.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.2531, allocations: 233.4 kB / 405.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2532, allocations: 16.81 kB / 405.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.2532, allocations: 20.38 kB / 405.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.2536, allocations: 210 kB / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2536, allocations: 11.95 kB / 405.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2537, allocations: 11.98 kB / 405.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2537, allocations: 4 kB / 405.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.2539, allocations: 133.5 kB / 405.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.255, allocations: 0.6978 MB / 406.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.2553, allocations: 151.8 kB / 406.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.2554, allocations: 72.77 kB / 406.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2554, allocations: 4 kB / 406.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2555, allocations: 34.56 kB / 406.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.2555, allocations: 0 / 406.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001593/0.2571, allocations: 0.8915 MB / 407.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2571, allocations: 55.41 kB / 407.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2573, allocations: 171.2 kB / 407.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2573, allocations: 33.7 kB / 407.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.2575, allocations: 148.4 kB / 407.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.2575, allocations: 91.22 kB / 407.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.2576, allocations: 45.7 kB / 407.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2578, allocations: 326.8 kB / 408.3 MB, free: 464 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2579, allocations: 55.97 kB / 408.3 MB, free: 408 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.258, allocations: 108.2 kB / 408.4 MB, free: 284 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2583, allocations: 164.2 kB / 408.6 MB, free: 104 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2583, allocations: 0 / 408.6 MB, free: 104 kB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004659/0.2588, allocations: 254.1 kB / 408.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2589, allocations: 11.94 kB / 408.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.2589, allocations: 0 / 408.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.2591, allocations: 40.81 kB / 408.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.2593, allocations: 51.91 kB / 408.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2606, allocations: 1.481 MB / 410.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2607, allocations: 16.02 kB / 410.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2608, allocations: 12.06 kB / 410.4 MB, free: 14.09 MB / 334.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.2609, allocations: 133.8 kB / 410.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.261, allocations: 19.86 kB / 410.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.261, allocations: 25.86 kB / 410.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.261, allocations: 7.938 kB / 410.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.261, allocations: 0 / 410.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2611, allocations: 0 / 410.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/0.262, allocations: 0.6577 MB / 411.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.262, allocations: 0 / 411.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2622, allocations: 47.91 kB / 411.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.2624, allocations: 28.84 kB / 411.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.2624, allocations: 12.05 kB / 411.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2637, allocations: 1.489 MB / 412.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2637, allocations: 4.031 kB / 412.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.2643, allocations: 403.8 kB / 413.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.2644, allocations: 97.03 kB / 413.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2644, allocations: 0 / 413.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2645, allocations: 8 kB / 413.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.2646, allocations: 23.95 kB / 413.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2646, allocations: 8 kB / 413.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.2647, allocations: 132.8 kB / 413.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2647, allocations: 0 / 413.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.2651, allocations: 60 kB / 413.6 MB, free: 10.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009338/0.266, allocations: 0.9414 MB / 414.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005652/0.2666, allocations: 293.2 kB / 414.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2666, allocations: 0 / 414.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.267, allocations: 217.8 kB / 415 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2674, allocations: 56.2 kB / 415.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2708, allocations: 2.53 MB / 417.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2712, allocations: 0.752 MB / 418.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.394e-05/0.2713, allocations: 17.95 kB / 418.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2714, allocations: 71.41 kB / 418.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2714, allocations: 0 / 418.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.3029, allocations: 4.711 MB / 423.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.41, allocations: 11.81 kB / 423.2 MB, free: 1.016 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches