Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_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.001209/0.001209, allocations: 110 kB / 17.73 MB, free: 5.23 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.001248/0.001248, allocations: 188.1 kB / 18.66 MB, free: 4.305 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.362/1.362, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001333/0.001334, allocations: 56.39 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08925, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003686/0.09298, allocations: 2.333 MB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.09419, allocations: 0.6317 MB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.09443, allocations: 7.938 kB / 377.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.09466, allocations: 35.66 kB / 377.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.09492, allocations: 75.34 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.09517, allocations: 47.94 kB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.09552, allocations: 258.8 kB / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.09573, allocations: 88.28 kB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.09594, allocations: 107.6 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.09613, allocations: 107.5 kB / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.09618, allocations: 20 kB / 378.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.09623, allocations: 16 kB / 378.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.09628, allocations: 47.78 kB / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.09641, allocations: 115.4 kB / 378.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.09672, allocations: 247 kB / 378.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.09674, allocations: 4 kB / 378.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09675, allocations: 0 / 378.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.09676, allocations: 0 / 378.8 MB, free: 0.9414 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.0007424/0.09751, allocations: 0.5144 MB / 379.3 MB, free: 388 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.09756, allocations: 11.97 kB / 379.3 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.09763, allocations: 62.67 kB / 379.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.09769, allocations: 24.8 kB / 379.4 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.09805, allocations: 240.7 kB / 379.6 MB, free: 0 / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1673/0.2654, allocations: 12.45 kB / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.2655, allocations: 23.41 kB / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.266, allocations: 206.5 kB / 379.8 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.266, allocations: 8.422 kB / 379.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.266, allocations: 8.438 kB / 379.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.266, allocations: 5.469 kB / 379.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.2663, allocations: 129.6 kB / 380 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.2673, allocations: 0.7079 MB / 380.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.2676, allocations: 148.5 kB / 380.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2677, allocations: 70.84 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2677, allocations: 2.75 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2678, allocations: 36.77 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.2678, allocations: 1.781 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001466/0.2692, allocations: 0.8862 MB / 381.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.2693, allocations: 58.55 kB / 381.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2695, allocations: 171.3 kB / 382.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2695, allocations: 35.11 kB / 382.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.2696, allocations: 146.4 kB / 382.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.2697, allocations: 92.62 kB / 382.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.2698, allocations: 46.61 kB / 382.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.2698, allocations: 329.4 kB / 382.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2699, allocations: 56.53 kB / 382.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2701, allocations: 97.86 kB / 382.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.2704, allocations: 166.1 kB / 383 MB, free: 11.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2704, allocations: 6.438 kB / 383 MB, free: 11.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004656/0.2709, allocations: 250.1 kB / 383.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2709, allocations: 8.906 kB / 383.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.271, allocations: 1.156 kB / 383.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.2711, allocations: 36.3 kB / 383.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2714, allocations: 47 kB / 383.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009365/0.2723, allocations: 1.487 MB / 384.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2724, allocations: 18.42 kB / 384.9 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2725, allocations: 7.312 kB / 384.9 MB, free: 9.609 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 (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 9.085e-05/0.2726, allocations: 140.2 kB / 385 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.2726, allocations: 27.98 kB / 385 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.2726, allocations: 23.27 kB / 385.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2727, allocations: 2.344 kB / 385.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2727, allocations: 1.156 kB / 385.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2727, allocations: 2.641 kB / 385.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.2735, allocations: 0.6469 MB / 385.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2735, allocations: 3.906 kB / 385.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.2737, allocations: 45.55 kB / 385.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.2738, allocations: 31.81 kB / 385.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2738, allocations: 10.88 kB / 385.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007902/0.2746, allocations: 1.48 MB / 387.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2747, allocations: 5.734 kB / 387.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.2752, allocations: 408.4 kB / 387.7 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.2752, allocations: 91.69 kB / 387.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2753, allocations: 14.66 kB / 387.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2754, allocations: 9.047 kB / 387.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.2754, allocations: 21.27 kB / 387.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2755, allocations: 9.016 kB / 387.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.232e-05/0.2755, allocations: 133.6 kB / 388 MB, free: 7.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2756, allocations: 1.219 kB / 388 MB, free: 7.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.2759, allocations: 54 kB / 388 MB, free: 7 MB / 318.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.0006794/0.2766, allocations: 0.9376 MB / 388.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.2771, allocations: 301.7 kB / 389.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.2771, allocations: 0 / 389.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.2774, allocations: 220.4 kB / 389.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.2778, allocations: 39 kB / 389.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2805, allocations: 2.535 MB / 392 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2807, allocations: 0.7459 MB / 392.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.232e-05/0.2808, allocations: 26.42 kB / 392.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.2809, allocations: 68.39 kB / 392.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2809, allocations: 0 / 392.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3075, allocations: 4.736 MB / 397.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.611/9.918, allocations: 9.266 kB / 397.6 MB, free: 2.418 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches