Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008737, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008124/0.0008124, allocations: 152.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8909/0.8909, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.969e-05, allocations: 2.312 kB / 376.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004595/0.004615, allocations: 5.14 MB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.008, allocations: 2.266 MB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005582/0.008558, allocations: 59.5 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.008968, allocations: 237.9 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.009284, allocations: 190.1 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.0101, allocations: 466.8 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008463/0.01095, allocations: 1.134 MB / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.01152, allocations: 405.9 kB / 386.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005841/0.01211, allocations: 0.5652 MB / 387.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.01243, allocations: 279 kB / 387.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.01253, allocations: 92 kB / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.01279, allocations: 155.9 kB / 387.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.01295, allocations: 215.2 kB / 387.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.01322, allocations: 315.2 kB / 388.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.01438, allocations: 1.281 MB / 389.4 MB, free: 6.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.01439, allocations: 8 kB / 389.4 MB, free: 6.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01439, allocations: 0 / 389.4 MB, free: 6.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.0144, allocations: 4 kB / 389.4 MB, free: 6.582 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001178/0.01558, allocations: 1.07 MB / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.01563, allocations: 12.03 kB / 390.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.01574, allocations: 139.9 kB / 390.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.01599, allocations: 192.3 kB / 390.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.01665, allocations: 0.5575 MB / 391.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.01669, allocations: 73.94 kB / 391.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.01677, allocations: 91.98 kB / 391.6 MB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.01781, allocations: 0.8892 MB / 392.5 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.01785, allocations: 11.94 kB / 392.5 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.01789, allocations: 36 kB / 392.5 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.0179, allocations: 24 kB / 392.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006942/0.0186, allocations: 0.5229 MB / 393 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.02105, allocations: 3.354 MB / 396.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.02148, allocations: 207.2 kB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.02159, allocations: 88.83 kB / 396.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.0217, allocations: 23.98 kB / 396.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.02173, allocations: 34.55 kB / 396.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.404e-06/0.02173, allocations: 0 / 396.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.00166/0.02339, allocations: 1.178 MB / 397.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.02342, allocations: 55.41 kB / 398 MB, free: 13.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.02373, allocations: 409.8 kB / 398.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.02375, allocations: 33.7 kB / 398.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.02395, allocations: 479.5 kB / 398.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.02403, allocations: 138.8 kB / 399 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.02412, allocations: 110.2 kB / 399.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.02424, allocations: 366.7 kB / 399.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.02438, allocations: 109.3 kB / 399.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.02462, allocations: 311.2 kB / 399.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.02506, allocations: 463.6 kB / 400.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02506, allocations: 0 / 400.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005632/0.02563, allocations: 0.5407 MB / 400.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.02565, allocations: 12.16 kB / 400.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.02566, allocations: 8 kB / 400.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.02582, allocations: 40.83 kB / 400.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.02605, allocations: 119.8 kB / 401.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003403/0.02639, allocations: 0.5639 MB / 401.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.02653, allocations: 20 kB / 401.6 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.02656, allocations: 24 kB / 401.7 MB, free: 9.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.02679, allocations: 229.6 kB / 401.9 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.02685, allocations: 67.78 kB / 402 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.02727, allocations: 330.9 kB / 402.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.02727, allocations: 4 kB / 402.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02728, allocations: 0 / 402.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.02728, allocations: 3.984 kB / 402.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.02824, allocations: 0.9919 MB / 403.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02825, allocations: 0 / 403.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.02845, allocations: 83.89 kB / 403.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.35e-05/0.02854, allocations: 28.84 kB / 403.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.02856, allocations: 12 kB / 403.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002355/0.0288, allocations: 0.5562 MB / 404 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.0288, allocations: 3.938 kB / 404 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.02933, allocations: 0.5642 MB / 404.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.02938, allocations: 43.67 kB / 404.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.02941, allocations: 12 kB / 404.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.02949, allocations: 8 kB / 404.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.02954, allocations: 23.95 kB / 404.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.02956, allocations: 11.98 kB / 404.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.02977, allocations: 275.1 kB / 404.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02977, allocations: 0 / 404.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.03019, allocations: 127.9 kB / 405 MB, free: 6.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007514/0.03094, allocations: 1.121 MB / 406.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.03138, allocations: 321.2 kB / 406.5 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.03139, allocations: 8.062 kB / 406.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.03155, allocations: 131.8 kB / 406.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.03194, allocations: 87.38 kB / 406.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.03636, allocations: 4.709 MB / 411.4 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.03661, allocations: 372.1 kB / 411.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.03676, allocations: 64.47 kB / 411.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.03699, allocations: 296.4 kB / 412.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.03699, allocations: 0 / 412.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.06479, allocations: 10.26 MB / 422.4 MB, free: 4.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.25, allocations: 4 kB / 422.4 MB, free: 4.645 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable directInertia.inertia.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable directInertia.inertia.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia2a.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia2a.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia2b.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia2b.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia3a.w in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia3a.w from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia3b.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia3b.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! Error: Could not read variable inertia3b.w in file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv. Warning: Get data of variable inertia3b.w from file ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.14700617082417]