Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.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: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007129/0.007129, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001328/0.001328, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3584/0.3584, allocations: 39.96 MB / 309.8 MB, free: 9.418 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.91 kB / 435.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3415, allocations: 56.88 MB / 492.6 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002231/0.3438, allocations: 0.4929 MB / 493.1 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.3461, allocations: 1.147 MB / 494.3 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.3461, allocations: 0 / 494.3 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3462, allocations: 0 / 494.3 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.598e-06/0.3462, allocations: 0 / 494.3 MB, free: 18.46 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Visualizers.mo:1550:5-1753:22: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 3.2.2+maint.om/Math.mo:682:3-696: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.00233/0.3485, allocations: 0.674 MB / 495 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.3486, allocations: 2.281 kB / 495 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.3486, allocations: 2.578 kB / 495 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.3486, allocations: 0 / 495 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.3487, allocations: 1.312 kB / 495 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-06/0.3487, allocations: 0 / 495 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.3526, allocations: 2.453 MB / 497.4 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.3526, allocations: 1.344 kB / 497.4 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.3526, allocations: 8 kB / 497.4 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.3532, allocations: 363.5 kB / 497.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3532, allocations: 0 / 497.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3532, allocations: 1.156 kB / 497.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3532, allocations: 0 / 497.8 MB, free: 17.78 MB / 382.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.0004195/0.3537, allocations: 372.4 kB / 498.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3537, allocations: 13.05 kB / 498.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3538, allocations: 7.906 kB / 498.2 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.3539, allocations: 161.2 kB / 498.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3539, allocations: 3.938 kB / 498.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3539, allocations: 5.031 kB / 498.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.354, allocations: 33.42 kB / 498.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3541, allocations: 0.6094 kB / 498.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3541, allocations: 5.125 kB / 498.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3541, allocations: 3.938 kB / 498.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.3541, allocations: 5.594 kB / 498.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.3543, allocations: 145.3 kB / 498.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.3543, allocations: 28.92 kB / 498.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.3543, allocations: 5.703 kB / 498.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3544, allocations: 1.375 kB / 498.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3544, allocations: 59.09 kB / 498.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.745e-06/0.3544, allocations: 3.984 kB / 498.6 MB, free: 16.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001786/0.3546, allocations: 64.61 kB / 498.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3547, allocations: 78.36 kB / 498.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.3547, allocations: 95.02 kB / 498.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3547, allocations: 29.7 kB / 498.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.3547, allocations: 80.14 kB / 499 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3548, allocations: 1.594 kB / 499 MB, free: 16.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.3548, allocations: 12.09 kB / 499 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.3549, allocations: 311.9 kB / 499.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.3549, allocations: 1.562 kB / 499.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.3549, allocations: 2.016 kB / 499.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.3549, allocations: 72 kB / 499.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.355, allocations: 0 / 499.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.296e-05/0.355, allocations: 63.05 kB / 499.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.355, allocations: 32.81 kB / 499.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3551, allocations: 0 / 499.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3551, allocations: 1.438 kB / 499.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.3551, allocations: 0.8438 kB / 499.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3551, allocations: 3.984 kB / 499.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.3551, allocations: 1.094 kB / 499.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3551, allocations: 5.062 kB / 499.5 MB, free: 15.92 MB / 382.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 5.328e-05/0.3552, allocations: 142.8 kB / 499.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.3552, allocations: 0.9375 kB / 499.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-06/0.3552, allocations: 6.188 kB / 499.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3552, allocations: 0 / 499.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3552, allocations: 0 / 499.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3552, allocations: 0 / 499.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.623e-05/0.3553, allocations: 153 kB / 499.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.3553, allocations: 1.188 kB / 499.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-06/0.3553, allocations: 0.6562 kB / 499.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.3553, allocations: 4 kB / 499.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3553, allocations: 1.625 kB / 499.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3553, allocations: 0.6094 kB / 499.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3553, allocations: 5.75 kB / 499.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.891e-05/0.3554, allocations: 100.1 kB / 499.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.3554, allocations: 77.77 kB / 499.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3555, allocations: 1.938 kB / 499.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.3555, allocations: 4.031 kB / 499.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3555, allocations: 2.391 kB / 499.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3555, allocations: 4 kB / 499.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.584e-05/0.3555, allocations: 76.69 kB / 0.4883 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3555, allocations: 0 / 0.4883 GB, free: 15.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.3559, allocations: 51.55 kB / 0.4884 GB, free: 15.26 MB / 382.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.001437/0.3573, allocations: 0.5359 MB / 0.4889 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.3575, allocations: 66.08 kB / 0.4889 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3575, allocations: 0 / 0.4889 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.3575, allocations: 54.81 kB / 0.489 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.3576, allocations: 7.344 kB / 0.489 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.3579, allocations: 86.75 kB / 0.4891 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.358, allocations: 0.671 MB / 0.4897 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.358, allocations: 0 / 0.4897 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.358, allocations: 9.281 kB / 0.4897 GB, free: 13.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3581, allocations: 0 / 0.4897 GB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.006172/0.3642, allocations: 2.143 MB / 0.4918 GB, free: 13.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)