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.0008003/0.0008004, allocations: 91.22 kB / 16.65 MB, free: 6.59 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.0008947/0.000895, allocations: 184.7 kB / 17.56 MB, free: 6.199 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.323/1.323, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002682, allocations: 5.375 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09009, allocations: 50.42 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00327/0.09342, allocations: 2.481 MB / 354.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.09473, allocations: 0.705 MB / 355 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.09498, allocations: 8 kB / 355 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.09514, allocations: 43.67 kB / 355.1 MB, free: 448 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.0955, allocations: 83.3 kB / 355.2 MB, free: 364 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.09594, allocations: 103.8 kB / 355.3 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.09653, allocations: 434.7 kB / 355.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.0969, allocations: 186 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.09717, allocations: 147.5 kB / 356 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.09744, allocations: 171.2 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.09751, allocations: 24 kB / 356.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.09757, allocations: 24 kB / 356.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.09764, allocations: 71.69 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.09784, allocations: 216.7 kB / 356.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.09826, allocations: 474.4 kB / 357 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.09827, allocations: 0 / 357 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09828, allocations: 0 / 357 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.0983, allocations: 0 / 357 MB, free: 14.52 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.00103/0.09933, allocations: 0.6202 MB / 357.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.09938, allocations: 16.03 kB / 357.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.09948, allocations: 40.47 kB / 357.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.0998, allocations: 269.4 kB / 357.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.09984, allocations: 41.31 kB / 357.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.09992, allocations: 40.38 kB / 358 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.1007, allocations: 459.6 kB / 358.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1007, allocations: 0 / 358.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1008, allocations: 20 kB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1008, allocations: 8 kB / 358.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.1014, allocations: 291.8 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1034, allocations: 1.31 MB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1038, allocations: 250.7 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.1042, allocations: 188.8 kB / 360.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1043, allocations: 4 kB / 360.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1043, allocations: 38.56 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.1043, allocations: 4 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001415/0.1057, allocations: 0.5579 MB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1059, allocations: 235.3 kB / 361.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1061, allocations: 203 kB / 361.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.1061, allocations: 33.7 kB / 361.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1062, allocations: 200.2 kB / 361.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.1063, allocations: 106.5 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.1064, allocations: 33.7 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1065, allocations: 338.8 kB / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1067, allocations: 79.95 kB / 362.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1069, allocations: 168.7 kB / 362.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.1073, allocations: 199.3 kB / 362.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1073, allocations: 0 / 362.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004577/0.1078, allocations: 288.9 kB / 362.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1078, allocations: 8 kB / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1078, allocations: 3.938 kB / 362.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1079, allocations: 0 / 362.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.1082, allocations: 79.89 kB / 363 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1082, allocations: 4 kB / 363 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1084, allocations: 27.69 kB / 363 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1084, allocations: 12 kB / 363.1 MB, free: 8.027 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.0001496/0.1086, allocations: 153.8 kB / 363.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1086, allocations: 31.66 kB / 363.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.1087, allocations: 30.64 kB / 363.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1087, allocations: 0 / 363.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1087, allocations: 4 kB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1088, allocations: 3.984 kB / 363.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1098, allocations: 0.7711 MB / 364.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1098, allocations: 0 / 364.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.1101, allocations: 47.97 kB / 364.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.1104, allocations: 100.7 kB / 364.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1105, allocations: 8 kB / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.1123, allocations: 1.843 MB / 366 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1123, allocations: 0 / 366 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.1131, allocations: 0.5107 MB / 366.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.1132, allocations: 96.86 kB / 366.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1132, allocations: 8.125 kB / 366.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1134, allocations: 16.11 kB / 366.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.1135, allocations: 27.97 kB / 366.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1135, allocations: 8 kB / 366.7 MB, free: 4.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1136, allocations: 148.6 kB / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 0 / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.114, allocations: 107.6 kB / 367 MB, free: 3.871 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.0001353/0.1142, allocations: 111.2 kB / 367.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1146, allocations: 219.9 kB / 367.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1146, allocations: 0 / 367.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.1151, allocations: 274.7 kB / 367.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1155, allocations: 43.86 kB / 367.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1169, allocations: 1.086 MB / 368.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1173, allocations: 0.7872 MB / 369.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1174, allocations: 29.94 kB / 369.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.1175, allocations: 23.38 kB / 369.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1175, allocations: 0 / 369.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of Templates: time 0.1557/0.2732, allocations: 2.873 MB / 372.4 MB, free: 23.82 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