Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 87.67 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.491e-05, allocations: 6.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001319/0.001343, allocations: 0.5081 MB / 347.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.002873, allocations: 1.131 MB / 348.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.002894, allocations: 0 / 348.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.002905, allocations: 0 / 348.6 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.00291, allocations: 4 kB / 348.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.004654, allocations: 0.7475 MB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.004695, allocations: 4 kB / 349.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.509e-05/0.00472, allocations: 4 kB / 349.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.004746, allocations: 0 / 349.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.609e-05/0.004762, allocations: 0 / 349.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.181e-06/0.004768, allocations: 0 / 349.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.007256, allocations: 2.458 MB / 351.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.007264, allocations: 4 kB / 351.8 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.007284, allocations: 3.984 kB / 351.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.007664, allocations: 383.1 kB / 352.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007667, allocations: 0 / 352.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.007669, allocations: 0 / 352.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.007673, allocations: 0 / 352.2 MB, free: 4.582 MB / 282.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.0003043/0.007977, allocations: 401.6 kB / 352.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.008006, allocations: 8.031 kB / 352.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.008042, allocations: 0 / 352.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.025e-05/0.008082, allocations: 108.1 kB / 352.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.008095, allocations: 7.984 kB / 352.7 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.008101, allocations: 0 / 352.7 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.008175, allocations: 67.28 kB / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.008183, allocations: 0 / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.008191, allocations: 0 / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.008195, allocations: 3.984 kB / 352.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.008215, allocations: 25.7 kB / 352.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.172e-05/0.008297, allocations: 108.6 kB / 352.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.008347, allocations: 56.78 kB / 352.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.008363, allocations: 41.39 kB / 353 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.008371, allocations: 0 / 353 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.008401, allocations: 67.03 kB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.008401, allocations: 4 kB / 353 MB, free: 3.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001816/0.008583, allocations: 118.7 kB / 353.2 MB, free: 3.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.008608, allocations: 77.11 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.575e-05/0.008633, allocations: 146.2 kB / 353.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.008639, allocations: 25.7 kB / 353.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.399e-05/0.008653, allocations: 126.9 kB / 353.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.008672, allocations: 12.05 kB / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.008695, allocations: 19.38 kB / 353.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.008752, allocations: 492.1 kB / 354 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.008765, allocations: 29.7 kB / 354.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.008775, allocations: 29.69 kB / 354.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.008805, allocations: 71.03 kB / 354.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008807, allocations: 0 / 354.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.003e-05/0.008857, allocations: 85.11 kB / 354.2 MB, free: 2.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.008879, allocations: 33.69 kB / 354.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008883, allocations: 3.938 kB / 354.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.008897, allocations: 8.094 kB / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.008898, allocations: 0 / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.008902, allocations: 0 / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.008916, allocations: 0 / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.008922, allocations: 0 / 354.3 MB, free: 2.145 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.008969, allocations: 190.3 kB / 354.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.008977, allocations: 0 / 354.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-06/0.008986, allocations: 6.938 kB / 354.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008987, allocations: 7.938 kB / 354.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.00899, allocations: 3.984 kB / 354.5 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.008992, allocations: 4 kB / 354.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.879e-05/0.009031, allocations: 104.6 kB / 354.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009033, allocations: 4 kB / 354.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.009033, allocations: 0 / 354.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009034, allocations: 4 kB / 354.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.00904, allocations: 0 / 354.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009041, allocations: 7.875 kB / 354.6 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009042, allocations: 0 / 354.6 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.731e-05/0.009109, allocations: 131.8 kB / 354.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.00912, allocations: 0 / 354.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.009131, allocations: 4.031 kB / 354.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.00914, allocations: 7.938 kB / 354.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.009154, allocations: 0 / 354.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.009157, allocations: 3.984 kB / 354.8 MB, free: 1.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.009173, allocations: 127.2 kB / 354.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009173, allocations: 0 / 354.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000319/0.009492, allocations: 51.75 kB / 354.9 MB, free: 1.406 MB / 282.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) * 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.001644/0.01114, allocations: 0.5492 MB / 355.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.01123, allocations: 118.5 kB / 355.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01124, allocations: 8.062 kB / 355.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.01126, allocations: 92.8 kB / 355.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.01137, allocations: 0 / 355.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.01153, allocations: 113.6 kB / 355.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.737e-05/0.01156, allocations: 55.36 kB / 355.9 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.761e-06/0.01157, allocations: 3.938 kB / 355.9 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.01158, allocations: 8.5 kB / 355.9 MB, free: 440 kB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01158, allocations: 0 / 355.9 MB, free: 440 kB / 282.7 MB Notification: Performance of Templates: time 0.005648/0.01723, allocations: 2.217 MB / 358.1 MB, free: 14.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.793058410985395]