Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") [: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.001693/0.001692, allocations: 175.4 kB / 8.151 MB, free: 2.215 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.79/1.79, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001279/0.001279, allocations: 91.62 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.177e-05, allocations: 3.938 kB / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2539, allocations: 47.56 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.3764, allocations: 76.14 MB / 438 MB, free: 9.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.3767, allocations: 65.84 kB / 438 MB, free: 9.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02299/0.3997, allocations: 5.069 MB / 443.1 MB, free: 4.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.3998, allocations: 8 kB / 443.1 MB, free: 4.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001514/0.4014, allocations: 0.6055 MB / 443.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4014, allocations: 8.031 kB / 443.7 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4016, allocations: 47.44 kB / 443.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.4021, allocations: 275.2 kB / 444 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.4021, allocations: 12 kB / 444.1 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.4022, allocations: 27.91 kB / 444.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008306/0.4031, allocations: 238 kB / 444.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.404, allocations: 369.3 kB / 444.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.4041, allocations: 0 / 444.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.4042, allocations: 4 kB / 444.7 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.4042, allocations: 8 kB / 444.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.4074, allocations: 1.235 MB / 445.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.408, allocations: 137.9 kB / 446.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.4086, allocations: 184.7 kB / 446.2 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.4086, allocations: 5.422 kB / 446.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4087, allocations: 47.38 kB / 446.3 MB, free: 1.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.496e-06/0.4087, allocations: 0 / 446.3 MB, free: 1.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009706/0.4096, allocations: 250.5 kB / 446.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.4098, allocations: 243.3 kB / 446.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.4101, allocations: 153.9 kB / 446.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4101, allocations: 25.7 kB / 447 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4103, allocations: 246.6 kB / 447.2 MB, free: 492 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4104, allocations: 102.5 kB / 447.3 MB, free: 388 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.4104, allocations: 0 / 447.3 MB, free: 388 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4106, allocations: 334.1 kB / 447.6 MB, free: 48 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.4108, allocations: 60.05 kB / 447.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.4111, allocations: 131.2 kB / 447.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.4114, allocations: 88.91 kB / 447.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4114, allocations: 0 / 447.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00063/0.412, allocations: 221.3 kB / 448.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4121, allocations: 4 kB / 448.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4121, allocations: 4 kB / 448.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4121, allocations: 0 / 448.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.4129, allocations: 87.86 kB / 448.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4129, allocations: 4 kB / 448.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.4132, allocations: 19.78 kB / 448.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.4132, allocations: 15.98 kB / 448.2 MB, free: 15.39 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" protected = true ) "Capacitor voltage" type: Real 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 (38): * Single equations (assignments): 38 * 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 prepare postOptimizeDAE: time 0.0001752/0.4134, allocations: 33.64 kB / 448.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.4135, allocations: 31.7 kB / 448.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.4136, allocations: 22.66 kB / 448.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4136, allocations: 0 / 448.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.4137, allocations: 4 kB / 448.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4137, allocations: 3.984 kB / 448.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.4153, allocations: 0.6868 MB / 449 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4154, allocations: 3.906 kB / 449 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.4159, allocations: 55.98 kB / 449.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.4165, allocations: 84.75 kB / 449.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.4165, allocations: 4 kB / 449.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.4194, allocations: 1.699 MB / 450.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4195, allocations: 4.203 kB / 450.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001174/0.4207, allocations: 483.4 kB / 451.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.4208, allocations: 96.86 kB / 451.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.4208, allocations: 0 / 451.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.4212, allocations: 11.98 kB / 451.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.4212, allocations: 21.25 kB / 451.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.4213, allocations: 12 kB / 451.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001386/0.4214, allocations: 124.3 kB / 451.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005441/0.422, allocations: 103.5 kB / 451.7 MB, free: 11.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.4222, allocations: 95.25 kB / 451.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.4227, allocations: 179.9 kB / 452 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4228, allocations: 4.125 kB / 452 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.4234, allocations: 217.9 kB / 452.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4237, allocations: 16.17 kB / 452.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4255, allocations: 0.684 MB / 452.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.4262, allocations: 0.8226 MB / 453.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4262, allocations: 0 / 453.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of Templates: time 0.009261/0.4355, allocations: 3.874 MB / 457.6 MB, free: 5.773 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches