Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001416/0.001416, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.00174/0.00174, allocations: 215.4 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2406/0.2406, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 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.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 79.88 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.324, allocations: 66.09 MB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004166/0.3282, allocations: 2.468 MB / 0.5631 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3297, allocations: 0.6935 MB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.3299, allocations: 11.94 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.3301, allocations: 39.53 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.3302, allocations: 87.19 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3306, allocations: 103.8 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.331, allocations: 346.5 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3312, allocations: 56.12 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.3315, allocations: 139.5 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3317, allocations: 123.3 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3317, allocations: 24 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.3318, allocations: 28 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.3319, allocations: 55.83 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.332, allocations: 123.3 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.3325, allocations: 314.5 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3325, allocations: 0 / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3325, allocations: 0 / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3325, allocations: 4 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009779/0.3335, allocations: 0.5207 MB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3335, allocations: 16.03 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.594e-05/0.3336, allocations: 54.73 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.3338, allocations: 52.72 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.3342, allocations: 214 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3343, allocations: 24.86 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.3343, allocations: 28.33 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.3348, allocations: 285.2 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.3349, allocations: 7.953 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3349, allocations: 8 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3349, allocations: 8 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.3353, allocations: 179.8 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.3372, allocations: 1.196 MB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.3376, allocations: 238.3 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.3379, allocations: 91.39 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.3379, allocations: 16.11 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.3379, allocations: 38.56 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.3379, allocations: 0 / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002585/0.3405, allocations: 1.201 MB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.3406, allocations: 132.5 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.3408, allocations: 237 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3409, allocations: 29.7 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.341, allocations: 176.5 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/0.3411, allocations: 126.9 kB / 0.5699 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3412, allocations: 74.08 kB / 0.5699 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3414, allocations: 342.8 kB / 0.5703 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.3416, allocations: 96.81 kB / 0.5704 GB, free: 9.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.342, allocations: 233.4 kB / 0.5706 GB, free: 9.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.3427, allocations: 381.2 kB / 0.571 GB, free: 9.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3427, allocations: 0 / 0.571 GB, free: 9.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007967/0.3435, allocations: 393.6 kB / 0.5713 GB, free: 8.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3435, allocations: 11.94 kB / 0.5713 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3435, allocations: 4 kB / 0.5713 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3435, allocations: 11.98 kB / 0.5714 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.3439, allocations: 95.88 kB / 0.5714 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3439, allocations: 12.28 kB / 0.5715 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3441, allocations: 32.08 kB / 0.5715 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3442, allocations: 15.94 kB / 0.5715 GB, free: 8.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001776/0.3444, allocations: 166.9 kB / 0.5717 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3445, allocations: 27.81 kB / 0.5717 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.3445, allocations: 33.72 kB / 0.5717 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.3445, allocations: 7.984 kB / 0.5717 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3445, allocations: 0 / 0.5717 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3445, allocations: 4.234 kB / 0.5717 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.3462, allocations: 0.9109 MB / 0.5726 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3462, allocations: 448 / 0.5726 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.3466, allocations: 79.88 kB / 0.5727 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/0.3466, allocations: 8.047 kB / 0.5727 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3466, allocations: 19.94 kB / 0.5727 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.3466, allocations: 7.938 kB / 0.5727 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3466, allocations: 0 / 0.5727 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3478, allocations: 0.7334 MB / 0.5735 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.3478, allocations: 39.73 kB / 0.5735 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3479, allocations: 8 kB / 0.5735 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.3481, allocations: 19.98 kB / 0.5735 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.3482, allocations: 27.95 kB / 0.5735 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3482, allocations: 8 kB / 0.5736 GB, free: 6.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3484, allocations: 160.5 kB / 0.5737 GB, free: 6.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 0 / 0.5737 GB, free: 6.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.3488, allocations: 68 kB / 0.5738 GB, free: 6.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/0.3503, allocations: 1.278 MB / 0.575 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.3509, allocations: 263.8 kB / 0.5753 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.351, allocations: 0 / 0.5753 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.3513, allocations: 132.5 kB / 0.5754 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.3519, allocations: 40.48 kB / 0.5754 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.3574, allocations: 3.514 MB / 0.5789 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3576, allocations: 164 kB / 0.579 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.3578, allocations: 39.5 kB / 0.5791 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3579, allocations: 95.41 kB / 0.5791 GB, free: 312 kB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3579, allocations: 0 / 0.5791 GB, free: 312 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.3937, allocations: 6.022 MB / 0.585 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 6.469 kB / 0.585 GB, free: 10.41 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.966704798862338]