Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.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.001395/0.001395, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001528/0.001528, allocations: 211.1 kB / 22.92 MB, free: 5.191 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.297/1.297, allocations: 230.2 MB / 256.1 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2006/0.2006, allocations: 46.9 MB / 359.3 MB, free: 4.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 75.88 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2584, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001402/0.2598, allocations: 497.1 kB / 0.5589 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2617, allocations: 1.174 MB / 0.56 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.2617, allocations: 0 / 0.56 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.2617, allocations: 3.938 kB / 0.56 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.2617, allocations: 0 / 0.56 GB, free: 3.535 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Visualizers/Colors/colorMapToSvg.mo:2:1-205:18:writable] Warning: Pure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg' contains a call to impure function 'Modelica.Utilities.Files.remove'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:663:3-677:20:writable] Warning: Pure function 'ModelicaTest.Math.colorMapToSvg' contains a call to impure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg'. Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.2635, allocations: 0.6786 MB / 0.5607 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.2635, allocations: 7.969 kB / 0.5607 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.2635, allocations: 8 kB / 0.5607 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.2636, allocations: 0 / 0.5607 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.269e-05/0.2636, allocations: 4 kB / 0.5607 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-06/0.2636, allocations: 0 / 0.5607 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.2663, allocations: 2.458 MB / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-06/0.2663, allocations: 4 kB / 0.5631 GB, free: 388 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.2663, allocations: 4 kB / 0.5631 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.2667, allocations: 363.3 kB / 0.5634 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2667, allocations: 4 kB / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2667, allocations: 0 / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2667, allocations: 0 / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004284/0.2672, allocations: 368.7 kB / 0.5638 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2672, allocations: 12.03 kB / 0.5638 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.2672, allocations: 30.56 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.2673, allocations: 4 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2674, allocations: 171 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2674, allocations: 7.922 kB / 0.564 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.2674, allocations: 4 kB / 0.564 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.316e-05/0.2675, allocations: 25.7 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2675, allocations: 0 / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.2675, allocations: 0 / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2675, allocations: 4 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.2675, allocations: 3.938 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.2676, allocations: 153.6 kB / 0.5642 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.2677, allocations: 26.59 kB / 0.5642 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.2677, allocations: 4.859 kB / 0.5642 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.2677, allocations: 0 / 0.5642 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.2677, allocations: 60.27 kB / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.2677, allocations: 0 / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.2679, allocations: 63.41 kB / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2679, allocations: 85.22 kB / 0.5644 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/0.268, allocations: 97.81 kB / 0.5645 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.268, allocations: 29.7 kB / 0.5646 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.268, allocations: 80.14 kB / 0.5646 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.268, allocations: 0 / 0.5646 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.2681, allocations: 9.719 kB / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2682, allocations: 314.8 kB / 0.5649 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.2682, allocations: 0 / 0.5649 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.2682, allocations: 4 kB / 0.5649 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.2682, allocations: 64.27 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2683, allocations: 3.938 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.572e-05/0.2683, allocations: 67.33 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.2683, allocations: 29.7 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2684, allocations: 0 / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2684, allocations: 0 / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.2684, allocations: 0 / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2684, allocations: 0 / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.2684, allocations: 8.094 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.2684, allocations: 0 / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.655e-05/0.2685, allocations: 143.5 kB / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.2685, allocations: 4 kB / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.714e-06/0.2685, allocations: 3.125 kB / 0.5653 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.2685, allocations: 0 / 0.5653 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2685, allocations: 0 / 0.5653 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.2685, allocations: 0 / 0.5653 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.735e-05/0.2686, allocations: 153.6 kB / 0.5654 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2686, allocations: 8 kB / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.2686, allocations: 3.938 kB / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-06/0.2686, allocations: 0 / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.2686, allocations: 3.938 kB / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.2686, allocations: 0 / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.2686, allocations: 0 / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.198e-05/0.2687, allocations: 98.7 kB / 0.5655 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.2687, allocations: 77.11 kB / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.2687, allocations: 4.031 kB / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-06/0.2687, allocations: 0 / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.2688, allocations: 4 kB / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.2688, allocations: 0 / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.2688, allocations: 75.28 kB / 0.5657 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2688, allocations: 0 / 0.5657 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.2691, allocations: 55.73 kB / 0.5657 GB, free: 13.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001682/0.2708, allocations: 1.072 MB / 0.5668 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.2709, allocations: 59.41 kB / 0.5668 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2709, allocations: 0 / 0.5668 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.2709, allocations: 55.41 kB / 0.5669 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.271, allocations: 6.438 kB / 0.5669 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.2713, allocations: 138.4 kB / 0.567 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2716, allocations: 0.6729 MB / 0.5677 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.209e-06/0.2716, allocations: 0 / 0.5677 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.2716, allocations: 7.438 kB / 0.5677 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2716, allocations: 128 / 0.5677 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.2954, allocations: 3.058 MB / 0.5707 GB, free: 8.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.358, allocations: 2.188 kB / 0.5707 GB, free: 8.227 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.857957500993507]