Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 208.6 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.0009059, allocations: 87.91 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.336e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09748, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.424, allocations: 88.47 MB / 0.5902 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4243, allocations: 65.62 kB / 0.5902 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01171/0.436, allocations: 2.664 MB / 0.5928 GB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.436, allocations: 4 kB / 0.5928 GB, free: 12.19 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007952/0.4368, allocations: 432.7 kB / 0.5932 GB, free: 11.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4369, allocations: 8.031 kB / 0.5933 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.4373, allocations: 43.78 kB / 0.5933 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.4376, allocations: 178.7 kB / 0.5935 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4376, allocations: 4.188 kB / 0.5935 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.4377, allocations: 11.94 kB / 0.5935 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001884/0.4379, allocations: 51.05 kB / 0.5935 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.4381, allocations: 102.9 kB / 0.5936 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4381, allocations: 0 / 0.5936 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.4382, allocations: 3.906 kB / 0.5936 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4382, allocations: 4 kB / 0.5936 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009462/0.4391, allocations: 428.5 kB / 0.594 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4393, allocations: 45.75 kB / 0.5941 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.4394, allocations: 27.34 kB / 0.5941 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.4394, allocations: 0 / 0.5941 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.4394, allocations: 30.56 kB / 0.5941 GB, free: 10.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.4395, allocations: 0.75 kB / 0.5941 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009736/0.4404, allocations: 188.5 kB / 0.5943 GB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.4405, allocations: 106.4 kB / 0.5944 GB, free: 10.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4407, allocations: 126.3 kB / 0.5945 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4407, allocations: 25.7 kB / 0.5946 GB, free: 10.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.4408, allocations: 115.3 kB / 0.5947 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4408, allocations: 11.72 kB / 0.5947 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.4409, allocations: 0 / 0.5947 GB, free: 10.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.441, allocations: 326.6 kB / 0.595 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.4411, allocations: 30.56 kB / 0.595 GB, free: 9.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4412, allocations: 63.97 kB / 0.5951 GB, free: 9.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.4413, allocations: 21.75 kB / 0.5951 GB, free: 9.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4413, allocations: 3.938 kB / 0.5951 GB, free: 9.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002624/0.4416, allocations: 110.7 kB / 0.5952 GB, free: 9.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4416, allocations: 12.09 kB / 0.5952 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4416, allocations: 0 / 0.5952 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4417, allocations: 64 / 0.5952 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009166/0.4426, allocations: 99.91 kB / 0.5953 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.4443, allocations: 1.336 MB / 0.5966 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.4446, allocations: 32.09 kB / 0.5967 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.4447, allocations: 4 kB / 0.5967 GB, free: 8.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.4448, allocations: 112.3 kB / 0.5968 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.4449, allocations: 15.84 kB / 0.5968 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4451, allocations: 90.61 kB / 0.5969 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4451, allocations: 0 / 0.5969 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4451, allocations: 3.984 kB / 0.5969 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4451, allocations: 0 / 0.5969 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.4457, allocations: 368.6 kB / 0.5972 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4457, allocations: 0 / 0.5972 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.446, allocations: 40.11 kB / 0.5973 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.446, allocations: 0 / 0.5973 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4461, allocations: 3.984 kB / 0.5973 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4461, allocations: 0 / 0.5973 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4461, allocations: 0 / 0.5973 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002538/0.4464, allocations: 189.3 kB / 0.5975 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4464, allocations: 85 kB / 0.5975 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4465, allocations: 0 / 0.5975 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.4468, allocations: 35.97 kB / 0.5976 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4469, allocations: 0 / 0.5976 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4469, allocations: 8 kB / 0.5976 GB, free: 7.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.894e-05/0.447, allocations: 110.4 kB / 0.5977 GB, free: 7.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.4474, allocations: 35.88 kB / 0.5977 GB, free: 7.082 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001659/0.4476, allocations: 91.25 kB / 0.5978 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.4489, allocations: 155 kB / 0.598 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4489, allocations: 0 / 0.598 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.449, allocations: 33.8 kB / 0.598 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4493, allocations: 17.2 kB / 0.598 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.451, allocations: 285.2 kB / 0.5983 GB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.4514, allocations: 0.7309 MB / 0.599 GB, free: 5.777 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4514, allocations: 0 / 0.599 GB, free: 5.777 MB / 394.7 MB Notification: Performance of Templates: time 0.004969/0.4564, allocations: 1.401 MB / 0.6004 GB, free: 4.395 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches