Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00281/0.002813, allocations: 369.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.147/4.147, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003779/0.003779, allocations: 220.3 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5475/0.5475, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004654, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006334/0.1026, allocations: 224.4 kB / 0.6803 GB, free: 41.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1049, allocations: 1.077 MB / 0.6814 GB, free: 40.37 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.105, allocations: 0 / 0.6814 GB, free: 40.37 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.105, allocations: 0 / 0.6814 GB, free: 40.37 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.785e-06/0.1051, allocations: 4 kB / 0.6814 GB, free: 40.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1072, allocations: 0.6158 MB / 0.682 GB, free: 39.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.999e-05/0.1073, allocations: 0 / 0.682 GB, free: 39.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1073, allocations: 4 kB / 0.682 GB, free: 39.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.1073, allocations: 8 kB / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.645e-05/0.1074, allocations: 0 / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.1074, allocations: 3.984 kB / 0.682 GB, free: 39.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.1113, allocations: 2.214 MB / 0.6841 GB, free: 37.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.1113, allocations: 0 / 0.6841 GB, free: 37.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1114, allocations: 25.7 kB / 0.6842 GB, free: 37.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.1118, allocations: 327.5 kB / 0.6845 GB, free: 37.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1118, allocations: 0 / 0.6845 GB, free: 37.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1119, allocations: 0 / 0.6845 GB, free: 37.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1119, allocations: 0 / 0.6845 GB, free: 37.17 MB / 346.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.0004143/0.1123, allocations: 389.3 kB / 0.6849 GB, free: 36.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1123, allocations: 12.03 kB / 0.6849 GB, free: 36.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1124, allocations: 0 / 0.6849 GB, free: 36.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.419e-05/0.1125, allocations: 163 kB / 0.685 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1125, allocations: 0 / 0.685 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1125, allocations: 0 / 0.685 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.1126, allocations: 33.69 kB / 0.6851 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1126, allocations: 3.953 kB / 0.6851 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1126, allocations: 0 / 0.6851 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1127, allocations: 4 kB / 0.6851 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.1127, allocations: 0 / 0.6851 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.1128, allocations: 149.7 kB / 0.6852 GB, free: 36.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.1128, allocations: 22.52 kB / 0.6852 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1129, allocations: 8.844 kB / 0.6852 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1129, allocations: 8.031 kB / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1129, allocations: 60.27 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.502e-06/0.1129, allocations: 0 / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.1131, allocations: 67.3 kB / 0.6854 GB, free: 36.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1132, allocations: 81.11 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.025e-05/0.1132, allocations: 93.84 kB / 0.6855 GB, free: 35.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.1133, allocations: 29.64 kB / 0.6856 GB, free: 35.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.1133, allocations: 80.14 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1133, allocations: 0 / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.1133, allocations: 0 / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.1134, allocations: 319 kB / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.1134, allocations: 0 / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.1134, allocations: 0 / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.1135, allocations: 29.7 kB / 0.686 GB, free: 35.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1135, allocations: 0 / 0.686 GB, free: 35.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.678e-05/0.1136, allocations: 63.39 kB / 0.686 GB, free: 35.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.1136, allocations: 33.7 kB / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1136, allocations: 0 / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1136, allocations: 0 / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.1136, allocations: 4.094 kB / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1137, allocations: 3.953 kB / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.1137, allocations: 3.984 kB / 0.6861 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1137, allocations: 0 / 0.6861 GB, free: 35.28 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.1138, allocations: 140.3 kB / 0.6862 GB, free: 35.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-06/0.1138, allocations: 0 / 0.6862 GB, free: 35.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.1138, allocations: 11.06 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1138, allocations: 0 / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1138, allocations: 4 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.1139, allocations: 85.06 kB / 0.6863 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1139, allocations: 0 / 0.6863 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.1139, allocations: 0 / 0.6863 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1139, allocations: 0 / 0.6863 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.739e-05/0.114, allocations: 198.1 kB / 0.6865 GB, free: 34.8 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001078/0.1142, allocations: 232.5 kB / 0.6867 GB, free: 34.55 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.209e-05/0.1142, allocations: 16 kB / 0.6867 GB, free: 34.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.677e-05/0.1142, allocations: 75.28 kB / 0.6868 GB, free: 34.46 MB / 346.7 MB Notification: Performance of Backend: time 8.62e-07/0.1142, allocations: 3.938 kB / 0.6868 GB, free: 34.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.1169, allocations: 0.5239 MB / 0.6873 GB, free: 33.98 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002963/0.1172, allocations: 0.5775 MB / 0.6879 GB, free: 33.34 MB / 346.7 MB Notification: Performance of Templates: time 0.009302/0.1265, allocations: 2.631 MB / 0.6904 GB, free: 30.7 MB / 346.7 MB