Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 76.5 kB / 19.92 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8737/0.8737, allocations: 158.6 MB / 185 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1321/0.1321, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.858e-05, allocations: 10.02 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002132/0.002151, allocations: 1.768 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.002477, allocations: 151.4 kB / 408.7 MB, free: 320 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.002547, allocations: 4 kB / 408.7 MB, free: 316 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.612e-05/0.002603, allocations: 27.78 kB / 408.8 MB, free: 288 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.002722, allocations: 51.5 kB / 408.8 MB, free: 236 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.002885, allocations: 35.95 kB / 408.9 MB, free: 200 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003057, allocations: 191 kB / 409 MB, free: 8 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.003219, allocations: 45.72 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003333, allocations: 107.7 kB / 409.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.003421, allocations: 55.81 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.003448, allocations: 12 kB / 409.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.003467, allocations: 20 kB / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.003495, allocations: 31.89 kB / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.003545, allocations: 63.84 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.003724, allocations: 179.4 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003726, allocations: 0 / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003727, allocations: 0 / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.003732, allocations: 0 / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004096/0.004142, allocations: 370 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.004186, allocations: 12.03 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.004231, allocations: 54.73 kB / 410 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.004265, allocations: 20.8 kB / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.00443, allocations: 153.5 kB / 410.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.004446, allocations: 20.64 kB / 410.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.004478, allocations: 16.38 kB / 410.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.004704, allocations: 174.1 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.00472, allocations: 192 / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.004735, allocations: 4.375 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.004746, allocations: 8.125 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.004861, allocations: 91.95 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.005464, allocations: 0.5306 MB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.005649, allocations: 129.1 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.005707, allocations: 45.7 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.005719, allocations: 4.188 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.005741, allocations: 38.5 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.005742, allocations: 0 / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006619/0.006404, allocations: 223.1 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.006455, allocations: 81.11 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.006566, allocations: 134.1 kB / 411.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.006581, allocations: 25.7 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.006652, allocations: 128.3 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.006697, allocations: 63.45 kB / 411.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.006752, allocations: 37.72 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.006849, allocations: 326.8 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.006917, allocations: 35.98 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.007028, allocations: 108.4 kB / 412.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.007224, allocations: 152.8 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.007227, allocations: 7.938 kB / 412.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003498/0.007576, allocations: 219 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.007595, allocations: 4 kB / 412.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.007603, allocations: 4 kB / 412.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.007824, allocations: 57.88 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.007959, allocations: 39.98 kB / 412.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.009956, allocations: 2.756 MB / 415.6 MB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.01003, allocations: 28.08 kB / 415.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01004, allocations: 19.88 kB / 415.6 MB, free: 8.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/0.01014, allocations: 129.8 kB / 415.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.01019, allocations: 7.953 kB / 415.7 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.01022, allocations: 16.78 kB / 415.8 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01022, allocations: 0 / 415.8 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01023, allocations: 3.938 kB / 415.8 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.01023, allocations: 7.984 kB / 415.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.01052, allocations: 188.7 kB / 416 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01053, allocations: 4 kB / 416 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.01065, allocations: 35.92 kB / 416 MB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.01077, allocations: 49.72 kB / 416 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01078, allocations: 4 kB / 416.1 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.01254, allocations: 2.771 MB / 418.8 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.01254, allocations: 4.031 kB / 418.8 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.0129, allocations: 372.4 kB / 419.2 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.01292, allocations: 7.953 kB / 419.2 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01293, allocations: 8.062 kB / 419.2 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01304, allocations: 0 / 419.2 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.01308, allocations: 19.91 kB / 419.2 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01309, allocations: 4 kB / 419.2 MB, free: 4.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.01314, allocations: 103 kB / 419.3 MB, free: 4.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01314, allocations: 3.938 kB / 419.3 MB, free: 4.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005568/0.0137, allocations: 59.89 kB / 419.4 MB, free: 4.809 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0005853/0.01428, allocations: 0.8929 MB / 420.3 MB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.01478, allocations: 349.5 kB / 420.6 MB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01478, allocations: 0 / 420.6 MB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.01502, allocations: 285.3 kB / 420.9 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.01551, allocations: 32.16 kB / 420.9 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.0172, allocations: 2.185 MB / 423.1 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.608e-05/0.01729, allocations: 112.2 kB / 423.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.505e-05/0.01733, allocations: 13.47 kB / 423.2 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.01738, allocations: 48.48 kB / 423.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01738, allocations: 0 / 423.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.04173, allocations: 4.568 MB / 427.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/6.986, allocations: 11.92 kB / 427.9 MB, free: 12.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.100711001083255]