Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 117.7 kB / 17.7 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009739/0.000974, allocations: 47.14 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09196, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004159/0.09616, allocations: 2.833 MB / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.09746, allocations: 0.7127 MB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.0976, allocations: 4 kB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.09776, allocations: 63.42 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.09798, allocations: 99.17 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.09833, allocations: 119.8 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.09874, allocations: 446.7 kB / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.0991, allocations: 224.9 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.09932, allocations: 175.5 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.09958, allocations: 203.2 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.09965, allocations: 44 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.938e-05/0.09972, allocations: 48 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.09981, allocations: 103.7 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1, allocations: 215 kB / 356.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.1004, allocations: 0.5021 MB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1005, allocations: 4 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1005, allocations: 0 / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1005, allocations: 4 kB / 357.3 MB, free: 13.91 MB / 302.1 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.001055/0.1015, allocations: 0.6825 MB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1016, allocations: 19.88 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.707e-05/0.1017, allocations: 44.47 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.102, allocations: 269.6 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.102, allocations: 33.38 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.1021, allocations: 40.38 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.1028, allocations: 459.5 kB / 358.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1028, allocations: 3.906 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.1028, allocations: 23.94 kB / 358.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1029, allocations: 8 kB / 358.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.1034, allocations: 287.8 kB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1051, allocations: 1.295 MB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.1056, allocations: 250.2 kB / 360.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.1059, allocations: 188.8 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.106, allocations: 4 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.106, allocations: 38.56 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.734e-06/0.106, allocations: 0 / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001319/0.1073, allocations: 0.554 MB / 361.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1074, allocations: 239.3 kB / 361.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1076, allocations: 207 kB / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1077, allocations: 33.7 kB / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1078, allocations: 204.2 kB / 362.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.1079, allocations: 98.47 kB / 362.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.108, allocations: 65.69 kB / 362.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1081, allocations: 330.8 kB / 362.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1082, allocations: 71.97 kB / 362.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1085, allocations: 164.7 kB / 362.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1088, allocations: 199.4 kB / 363 MB, free: 7.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1088, allocations: 0 / 363 MB, free: 7.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004312/0.1093, allocations: 277 kB / 363.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1093, allocations: 12 kB / 363.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1093, allocations: 0 / 363.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1093, allocations: 4 kB / 363.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.1097, allocations: 79.89 kB / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1097, allocations: 4 kB / 363.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1098, allocations: 27.69 kB / 363.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.1099, allocations: 15.98 kB / 363.4 MB, free: 7.359 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.11, allocations: 149.7 kB / 363.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.1101, allocations: 31.66 kB / 363.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.1101, allocations: 30.66 kB / 363.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1102, allocations: 4 kB / 363.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.1102, allocations: 7.984 kB / 363.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1102, allocations: 3.938 kB / 363.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1112, allocations: 0.764 MB / 364.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1112, allocations: 0 / 364.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1115, allocations: 67.92 kB / 364.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.1118, allocations: 84.81 kB / 364.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.1118, allocations: 7.938 kB / 364.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.1138, allocations: 1.98 MB / 366.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1138, allocations: 4.031 kB / 366.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.1145, allocations: 0.5051 MB / 367 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.1146, allocations: 100.8 kB / 367.1 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1147, allocations: 12.05 kB / 367.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1148, allocations: 8 kB / 367.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.1149, allocations: 23.97 kB / 367.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1149, allocations: 12 kB / 367.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.115, allocations: 152.5 kB / 367.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.115, allocations: 0 / 367.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.1154, allocations: 107.6 kB / 367.5 MB, free: 3.062 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.1156, allocations: 107.2 kB / 367.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.116, allocations: 213 kB / 367.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.116, allocations: 0 / 367.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.1165, allocations: 274.5 kB / 368 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.1169, allocations: 35.98 kB / 368.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1183, allocations: 0.838 MB / 368.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1186, allocations: 0.7906 MB / 369.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.1187, allocations: 21.95 kB / 369.7 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.1188, allocations: 19.44 kB / 369.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1188, allocations: 4 kB / 369.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of Templates: time 0.1482/0.2669, allocations: 3.077 MB / 372.8 MB, free: 24.62 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches