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.0009992/0.0009992, allocations: 94.72 kB / 16.32 MB, free: 5.578 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.001315/0.001316, allocations: 177.8 kB / 17.2 MB, free: 5.496 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.317/1.317, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002408/0.0002409, allocations: 8 kB / 300.8 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09367, allocations: 50.41 MB / 351.2 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002678/0.09638, allocations: 2.358 MB / 353.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.09737, allocations: 0.6858 MB / 354.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.0975, allocations: 12 kB / 354.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.464e-05/0.09758, allocations: 43.67 kB / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.09776, allocations: 79.31 kB / 354.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.09804, allocations: 83.89 kB / 354.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.09843, allocations: 414.8 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.09873, allocations: 166.3 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.09893, allocations: 151.5 kB / 355.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.09915, allocations: 163.3 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.0992, allocations: 24 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.09926, allocations: 24 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.09932, allocations: 67.75 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.09942, allocations: 97.45 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.09976, allocations: 379.1 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.09978, allocations: 0 / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09979, allocations: 3.938 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.0998, allocations: 0 / 355.9 MB, free: 15.03 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.0009257/0.1007, allocations: 0.62 MB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1008, allocations: 12.03 kB / 356.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.1009, allocations: 47.52 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1011, allocations: 272.1 kB / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.1012, allocations: 33 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.1012, allocations: 44 kB / 357 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.1019, allocations: 447.2 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.102, allocations: 3.953 kB / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.102, allocations: 20 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.102, allocations: 8 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.1025, allocations: 287.8 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.1043, allocations: 1.322 MB / 359 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.1048, allocations: 242.9 kB / 359.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.1051, allocations: 192.8 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1052, allocations: 4 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1052, allocations: 38.56 kB / 359.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 4.148e-06/0.1052, allocations: 4 kB / 359.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001297/0.1065, allocations: 0.5385 MB / 360 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.1067, allocations: 239.3 kB / 360.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1069, allocations: 207 kB / 360.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1069, allocations: 37.7 kB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1071, allocations: 196.2 kB / 360.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.1071, allocations: 110.4 kB / 360.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.1072, allocations: 8 kB / 360.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1073, allocations: 334.8 kB / 361.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1075, allocations: 71.97 kB / 361.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1077, allocations: 160.5 kB / 361.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1079, allocations: 95.88 kB / 361.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1079, allocations: 4 kB / 361.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004395/0.1083, allocations: 273.1 kB / 361.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1084, allocations: 10.34 kB / 361.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1084, allocations: 0 / 361.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1084, allocations: 0 / 361.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.1087, allocations: 83.89 kB / 361.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1087, allocations: 4 kB / 361.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1089, allocations: 35.69 kB / 361.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1089, allocations: 11.95 kB / 361.9 MB, free: 8.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1091, allocations: 157.8 kB / 362 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.1091, allocations: 19.81 kB / 362.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.1092, allocations: 30.66 kB / 362.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1092, allocations: 4 kB / 362.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1092, allocations: 0 / 362.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1093, allocations: 3.984 kB / 362.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1103, allocations: 0.7797 MB / 362.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1103, allocations: 0 / 362.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1105, allocations: 55.91 kB / 362.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.1108, allocations: 96.77 kB / 363 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1109, allocations: 4 kB / 363 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.1127, allocations: 1.835 MB / 364.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1127, allocations: 0 / 364.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.1135, allocations: 0.4984 MB / 365.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1135, allocations: 108.8 kB / 365.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1136, allocations: 11.98 kB / 365.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1137, allocations: 11.94 kB / 365.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.1138, allocations: 23.97 kB / 365.5 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1138, allocations: 4 kB / 365.5 MB, free: 4.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.114, allocations: 148.6 kB / 365.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.114, allocations: 0 / 365.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.1144, allocations: 119.5 kB / 365.8 MB, free: 4.555 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 (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.0001376/0.1145, allocations: 99.25 kB / 365.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.1149, allocations: 216.2 kB / 366.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1149, allocations: 0 / 366.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.1154, allocations: 282.6 kB / 366.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1158, allocations: 33 kB / 366.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1171, allocations: 1.055 MB / 367.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1175, allocations: 0.7872 MB / 368.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.1176, allocations: 25.92 kB / 368.3 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.1177, allocations: 23.44 kB / 368.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1177, allocations: 0 / 368.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of Templates: time 0.1543/0.272, allocations: 2.76 MB / 371.1 MB, free: 23.78 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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