Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") [: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 3.2.3+maint.om/package.mo): time 0.00348/0.003485, allocations: 178.3 kB / 8.152 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 91.12 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.106e-05, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 47.55 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.4256, allocations: 84.03 MB / 445.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.426, allocations: 75.95 kB / 445.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1212/0.5472, allocations: 31.11 MB / 477 MB, free: 2.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.5474, allocations: 55.88 kB / 477.1 MB, free: 2.742 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006903/0.5544, allocations: 1.997 MB / 479.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5544, allocations: 8.031 kB / 479.1 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.5559, allocations: 261.1 kB / 479.4 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.5598, allocations: 1.262 MB / 480.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5599, allocations: 72 kB / 480.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005275/0.5605, allocations: 128 kB / 480.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006311/0.5668, allocations: 1.809 MB / 482.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007917/0.5748, allocations: 2.4 MB / 485 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.5749, allocations: 4 kB / 485 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.5752, allocations: 4 kB / 485 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.5752, allocations: 59.84 kB / 485.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/0.5962, allocations: 7.334 MB / 492.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.5977, allocations: 0.627 MB / 493 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.5995, allocations: 0.6805 MB / 493.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.592e-05/0.5996, allocations: 8.484 kB / 493.7 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.5996, allocations: 39.06 kB / 493.8 MB, free: 1.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.256e-06/0.5996, allocations: 0 / 493.8 MB, free: 1.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005608/0.6053, allocations: 2.027 MB / 495.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6053, allocations: 56.06 kB / 495.9 MB, free: 15.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.6068, allocations: 0.6558 MB / 496.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6069, allocations: 25.7 kB / 496.5 MB, free: 14.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.6075, allocations: 0.8419 MB / 497.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.6078, allocations: 228.7 kB / 497.6 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.6079, allocations: 0 / 497.6 MB, free: 13.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.608, allocations: 342.7 kB / 497.9 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.6089, allocations: 349.6 kB / 498.3 MB, free: 12.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.6099, allocations: 0.5536 MB / 498.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.6111, allocations: 458.9 kB / 499.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6111, allocations: 0 / 499.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002681/0.6138, allocations: 1.012 MB / 0.4886 GB, free: 10.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6139, allocations: 9.562 kB / 0.4886 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/0.6139, allocations: 15.97 kB / 0.4886 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.6143, allocations: 92.72 kB / 0.4887 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.6158, allocations: 179.7 kB / 0.4889 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.6186, allocations: 1.833 MB / 0.4906 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.6194, allocations: 23.98 kB / 0.4907 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.972e-05/0.6196, allocations: 32 kB / 0.4907 GB, free: 8.555 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.6198, allocations: 57.36 kB / 0.4907 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.6201, allocations: 83.05 kB / 0.4908 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.6226, allocations: 0.8558 MB / 0.4917 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.6226, allocations: 11.94 kB / 0.4917 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6226, allocations: 0 / 0.4917 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.6227, allocations: 7.984 kB / 0.4917 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006501/0.6292, allocations: 2.325 MB / 0.494 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.6292, allocations: 0 / 0.494 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.6303, allocations: 116 kB / 0.4941 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.6306, allocations: 84.91 kB / 0.4941 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.6307, allocations: 8 kB / 0.4942 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.6332, allocations: 1.794 MB / 0.4959 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.6332, allocations: 4 kB / 0.4959 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003282/0.6365, allocations: 1.43 MB / 0.4973 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.6372, allocations: 224 kB / 0.4975 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.6374, allocations: 16.05 kB / 0.4975 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/0.6382, allocations: 36.03 kB / 0.4976 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6384, allocations: 32.45 kB / 0.4976 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.6385, allocations: 19.98 kB / 0.4976 GB, free: 1.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001045/0.6395, allocations: 0.5069 MB / 0.4981 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00161/0.6412, allocations: 283.9 kB / 0.4984 GB, free: 396 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004019/0.6416, allocations: 139.2 kB / 0.4985 GB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1281/0.7697, allocations: 0.9868 MB / 0.4995 GB, free: 146.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7698, allocations: 0 / 0.4995 GB, free: 146.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.7709, allocations: 0.5689 MB / 0.5 GB, free: 146.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.7727, allocations: 173.9 kB / 0.5002 GB, free: 146.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/0.7796, allocations: 2.472 MB / 0.5026 GB, free: 145.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/0.7818, allocations: 1.785 MB / 0.5044 GB, free: 144.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.7819, allocations: 3.281 kB / 0.5044 GB, free: 144.9 MB / 394.7 MB Notification: Performance of Templates: time 0.04756/0.8294, allocations: 26.98 MB / 0.5307 GB, free: 142.3 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches