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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001782/0.001782, allocations: 177 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.713/1.713, allocations: 194.4 MB / 202.4 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001666/0.001667, allocations: 107.3 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1901/0.1901, allocations: 39.95 MB / 332.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.295e-05, allocations: 0 / 393.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3994, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.5125, allocations: 83.66 MB / 0.5194 GB, free: 9.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5129, allocations: 63.97 kB / 0.5194 GB, free: 9.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3049/0.8178, allocations: 29.97 MB / 0.5487 GB, free: 78.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.8179, allocations: 0 / 0.5487 GB, free: 78.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.8179, allocations: 0 / 0.5487 GB, free: 78.28 MB / 378.7 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.0005104/0.8184, allocations: 401.1 kB / 0.5491 GB, free: 77.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.8185, allocations: 8.031 kB / 0.5491 GB, free: 77.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.8185, allocations: 7.953 kB / 0.5491 GB, free: 77.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/0.8186, allocations: 159.1 kB / 0.5492 GB, free: 77.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.8186, allocations: 0 / 0.5492 GB, free: 77.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.8186, allocations: 0 / 0.5492 GB, free: 77.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.183e-05/0.8187, allocations: 4 kB / 0.5493 GB, free: 77.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.972e-05/0.8187, allocations: 29.7 kB / 0.5493 GB, free: 77.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8187, allocations: 3.938 kB / 0.5493 GB, free: 77.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.8187, allocations: 3.938 kB / 0.5493 GB, free: 77.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.8188, allocations: 3.953 kB / 0.5493 GB, free: 77.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.823e-05/0.8188, allocations: 126.2 kB / 0.5494 GB, free: 77.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/0.8189, allocations: 22.61 kB / 0.5494 GB, free: 77.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.8189, allocations: 8.859 kB / 0.5494 GB, free: 77.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.8189, allocations: 0 / 0.5494 GB, free: 77.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.819, allocations: 56.27 kB / 0.5495 GB, free: 77.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.819, allocations: 3.938 kB / 0.5495 GB, free: 77.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.8191, allocations: 37.75 kB / 0.5495 GB, free: 77.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.8191, allocations: 81.05 kB / 0.5496 GB, free: 77.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.814e-05/0.8192, allocations: 85 kB / 0.5497 GB, free: 77.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.8192, allocations: 25.7 kB / 0.5497 GB, free: 77.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.8192, allocations: 88.17 kB / 0.5498 GB, free: 76.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.8192, allocations: 3.906 kB / 0.5498 GB, free: 76.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.8192, allocations: 0 / 0.5498 GB, free: 76.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.8193, allocations: 318.8 kB / 0.5501 GB, free: 76.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.8193, allocations: 0 / 0.5501 GB, free: 76.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.8193, allocations: 0 / 0.5501 GB, free: 76.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.8194, allocations: 0 / 0.5501 GB, free: 76.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8194, allocations: 0 / 0.5501 GB, free: 76.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.356e-05/0.8194, allocations: 41.75 kB / 0.5502 GB, free: 76.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.8195, allocations: 29.7 kB / 0.5502 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8195, allocations: 0 / 0.5502 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8195, allocations: 0 / 0.5502 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.8195, allocations: 4 kB / 0.5502 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.8195, allocations: 0 / 0.5502 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.8195, allocations: 4 kB / 0.5502 GB, free: 76.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.8195, allocations: 0 / 0.5502 GB, free: 76.53 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.8196, allocations: 134.6 kB / 0.5503 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.8196, allocations: 4.031 kB / 0.5503 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.8196, allocations: 11.69 kB / 0.5503 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.8196, allocations: 0 / 0.5503 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8197, allocations: 3.984 kB / 0.5503 GB, free: 76.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8197, allocations: 0 / 0.5503 GB, free: 76.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.543e-05/0.8197, allocations: 126.2 kB / 0.5505 GB, free: 76.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8197, allocations: 0 / 0.5505 GB, free: 76.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-06/0.8197, allocations: 7.891 kB / 0.5505 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8197, allocations: 0 / 0.5505 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.8198, allocations: 0 / 0.5505 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8198, allocations: 0 / 0.5505 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8198, allocations: 4 kB / 0.5505 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.191e-05/0.8199, allocations: 65.12 kB / 0.5505 GB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.8199, allocations: 81.09 kB / 0.5506 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.8199, allocations: 3.953 kB / 0.5506 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.8199, allocations: 0 / 0.5506 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.82, allocations: 0 / 0.5506 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.82, allocations: 4 kB / 0.5506 GB, free: 76.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.82, allocations: 79.31 kB / 0.5507 GB, free: 75.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.82, allocations: 0 / 0.5507 GB, free: 75.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.8204, allocations: 75.78 kB / 0.5508 GB, free: 75.86 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/0.8221, allocations: 0.5198 MB / 0.5513 GB, free: 75.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.8222, allocations: 63.41 kB / 0.5513 GB, free: 75.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8222, allocations: 3.938 kB / 0.5513 GB, free: 75.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.8222, allocations: 55.41 kB / 0.5514 GB, free: 75.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.316e-05/0.8223, allocations: 11.36 kB / 0.5514 GB, free: 75.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001447/0.8225, allocations: 47.95 kB / 0.5514 GB, free: 75.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.8226, allocations: 0.6729 MB / 0.5521 GB, free: 74.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.051e-06/0.8226, allocations: 3.984 kB / 0.5521 GB, free: 74.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.8226, allocations: 11.44 kB / 0.5521 GB, free: 74.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8226, allocations: 4.125 kB / 0.5521 GB, free: 74.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004697/0.8273, allocations: 2.083 MB / 0.5542 GB, free: 72.32 MB / 378.7 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)