Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 112.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 482 MB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2947, allocations: 62.43 MB / 0.5316 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001521/0.2962, allocations: 0.4998 MB / 0.5321 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2981, allocations: 1.404 MB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.2982, allocations: 0 / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2982, allocations: 3.938 kB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.2982, allocations: 5.781 kB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.299, allocations: 223.3 kB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.299, allocations: 12.05 kB / 0.5337 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.2991, allocations: 1.375 kB / 0.5337 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.2991, allocations: 10.73 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.2991, allocations: 1.375 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2991, allocations: 1.375 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.2996, allocations: 279.2 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.2996, allocations: 1.375 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2997, allocations: 9.312 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2999, allocations: 144.8 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2999, allocations: 1.375 kB / 0.5342 GB, free: 11.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2999, allocations: 0 / 0.5342 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.2999, allocations: 0 / 0.5342 GB, free: 11.73 MB / 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.000363/0.3003, allocations: 338.5 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3003, allocations: 13.61 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.3003, allocations: 0.9375 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3005, allocations: 169.7 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3005, allocations: 1.75 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3005, allocations: 4.375 kB / 0.5347 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/0.3006, allocations: 32.77 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.3006, allocations: 1.375 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3006, allocations: 0 / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3006, allocations: 0 / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.3006, allocations: 6.734 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.3008, allocations: 151 kB / 0.5348 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.3008, allocations: 21.27 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.3009, allocations: 10.23 kB / 0.5349 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.3009, allocations: 1.375 kB / 0.5349 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3009, allocations: 38.48 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.542e-06/0.3009, allocations: 0 / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.3011, allocations: 36.58 kB / 0.5349 GB, free: 10.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3011, allocations: 56.72 kB / 0.535 GB, free: 10.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.3012, allocations: 96.73 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3012, allocations: 25.7 kB / 0.5351 GB, free: 10.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.3013, allocations: 84.12 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3013, allocations: 5.375 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3014, allocations: 12.47 kB / 0.5352 GB, free: 10.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3015, allocations: 314.8 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.3015, allocations: 1.375 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.3015, allocations: 1.375 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.3016, allocations: 13.17 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3016, allocations: 0 / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.754e-05/0.3016, allocations: 40.56 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3017, allocations: 14.5 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3017, allocations: 1.375 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3017, allocations: 0 / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.3018, allocations: 6.75 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3018, allocations: 0 / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.3018, allocations: 0 / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3018, allocations: 1.375 kB / 0.5356 GB, free: 10.11 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 9.27e-05/0.3019, allocations: 111.2 kB / 0.5357 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.3019, allocations: 5.312 kB / 0.5357 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.3021, allocations: 48.86 kB / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3021, allocations: 0 / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3021, allocations: 1.375 kB / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.3021, allocations: 85.05 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3021, allocations: 1.375 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.3022, allocations: 5.359 kB / 0.5358 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3022, allocations: 1.375 kB / 0.5358 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.384e-05/0.3023, allocations: 110.4 kB / 0.5359 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001161/0.3024, allocations: 215 kB / 0.5361 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.72e-05/0.3025, allocations: 6.812 kB / 0.5362 GB, free: 9.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.983e-05/0.3025, allocations: 80.59 kB / 0.5362 GB, free: 9.438 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.3025, allocations: 0 / 0.5362 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.303, allocations: 128.5 kB / 0.5364 GB, free: 9.348 MB / 398.1 MB Notification: Performance of SimCode: time 0.000332/0.3033, allocations: 0.5547 MB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of Templates: time 0.003222/0.3066, allocations: 1.109 MB / 0.538 GB, free: 8.16 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches