Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 60.14 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09691, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004195/0.1011, allocations: 2.834 MB / 361.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1027, allocations: 0.7633 MB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1029, allocations: 8 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1031, allocations: 63.41 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1033, allocations: 95.06 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1038, allocations: 135.7 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.1043, allocations: 442.9 kB / 362.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.1046, allocations: 216.9 kB / 363 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1049, allocations: 195.4 kB / 363.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.1052, allocations: 199.2 kB / 363.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.1053, allocations: 44 kB / 363.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1054, allocations: 59.98 kB / 363.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.1055, allocations: 99.67 kB / 363.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.1057, allocations: 219 kB / 363.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.1062, allocations: 0.4946 MB / 364.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1063, allocations: 4 kB / 364.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1063, allocations: 0 / 364.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1063, allocations: 0 / 364.3 MB, free: 8.086 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.001119/0.1074, allocations: 0.6864 MB / 364.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1075, allocations: 12.03 kB / 365 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.1077, allocations: 52.45 kB / 365 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.108, allocations: 290 kB / 365.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1081, allocations: 29.38 kB / 365.3 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.1082, allocations: 48.28 kB / 365.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.1089, allocations: 447.6 kB / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1089, allocations: 7.984 kB / 365.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.109, allocations: 24 kB / 365.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.109, allocations: 8 kB / 365.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.1095, allocations: 283.9 kB / 366.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1115, allocations: 1.306 MB / 367.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.112, allocations: 238.7 kB / 367.7 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.1123, allocations: 196.7 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1124, allocations: 4 kB / 367.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1124, allocations: 38.5 kB / 367.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.934e-06/0.1124, allocations: 0 / 367.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00142/0.1139, allocations: 0.5501 MB / 368.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.114, allocations: 239.3 kB / 368.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1142, allocations: 214.8 kB / 368.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1143, allocations: 37.64 kB / 368.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1144, allocations: 196.2 kB / 369.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.1145, allocations: 106.5 kB / 369.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1146, allocations: 61.69 kB / 369.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1148, allocations: 338.8 kB / 369.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1149, allocations: 75.72 kB / 369.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.1152, allocations: 160.9 kB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.1156, allocations: 200 kB / 370 MB, free: 1.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1156, allocations: 4 kB / 370 MB, free: 1.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000478/0.1161, allocations: 277.1 kB / 370.3 MB, free: 1.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1161, allocations: 4 kB / 370.3 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1161, allocations: 0 / 370.3 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1161, allocations: 4 kB / 370.3 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.1165, allocations: 83.89 kB / 370.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1165, allocations: 0 / 370.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1167, allocations: 31.69 kB / 370.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1167, allocations: 16.05 kB / 370.4 MB, free: 1.5 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.0001657/0.1169, allocations: 153.8 kB / 370.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.1169, allocations: 27.66 kB / 370.6 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.117, allocations: 26.66 kB / 370.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.117, allocations: 4 kB / 370.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.117, allocations: 3.984 kB / 370.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.117, allocations: 0 / 370.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1182, allocations: 0.775 MB / 371.4 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.1182, allocations: 4 kB / 371.4 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1185, allocations: 51.89 kB / 371.5 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.1188, allocations: 88.81 kB / 371.6 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1188, allocations: 7.984 kB / 371.6 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1473/0.2661, allocations: 1.965 MB / 373.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2662, allocations: 2.656 kB / 373.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.2669, allocations: 0.5022 MB / 374.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.267, allocations: 104.8 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.267, allocations: 10.17 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.2672, allocations: 14.16 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.2673, allocations: 24.09 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2673, allocations: 9.969 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2675, allocations: 147.7 kB / 374.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2675, allocations: 0 / 374.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.2679, allocations: 105.4 kB / 374.5 MB, free: 18.31 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.0001055/0.268, allocations: 107.2 kB / 374.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.2685, allocations: 220.2 kB / 374.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2685, allocations: 4.969 kB / 374.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.2689, allocations: 271.1 kB / 375 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2693, allocations: 44.62 kB / 375.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2705, allocations: 0.8687 MB / 376 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2707, allocations: 0.7885 MB / 376.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.2708, allocations: 22.73 kB / 376.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2708, allocations: 0 / 376.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of Templates: time 0.006868/0.2777, allocations: 4.03 MB / 380.8 MB, free: 16.42 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches