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.001457/0.001457, allocations: 110.6 kB / 16.51 MB, free: 6.707 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.001657/0.001657, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009947/0.0009947, allocations: 42.33 kB / 299.9 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.08124, allocations: 49.44 MB / 349.4 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003455/0.08472, allocations: 2.867 MB / 352.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.08575, allocations: 0.7128 MB / 353 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.08587, allocations: 4 kB / 353 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.08599, allocations: 51.66 kB / 353 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.08621, allocations: 87.3 kB / 353.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.08657, allocations: 95.91 kB / 353.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.08701, allocations: 430.8 kB / 353.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.08735, allocations: 190 kB / 353.8 MB, free: 436 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.08758, allocations: 163.5 kB / 354 MB, free: 272 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.08781, allocations: 195.1 kB / 354.2 MB, free: 76 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.08788, allocations: 39.94 kB / 354.2 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.08795, allocations: 36 kB / 354.2 MB, free: 0 / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.08807, allocations: 87.81 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.08825, allocations: 207 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.08867, allocations: 494.4 kB / 355 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.08868, allocations: 0 / 355 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.08869, allocations: 0 / 355 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.0887, allocations: 0 / 355 MB, free: 15.23 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.001016/0.08972, allocations: 0.6904 MB / 355.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.08976, allocations: 12.03 kB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.08985, allocations: 40.47 kB / 355.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.09011, allocations: 268.5 kB / 356 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.09014, allocations: 37.31 kB / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.09022, allocations: 44.38 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.09089, allocations: 455.6 kB / 356.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.09092, allocations: 3.906 kB / 356.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.09096, allocations: 16 kB / 356.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.09098, allocations: 12 kB / 356.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.09147, allocations: 283.8 kB / 356.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.09321, allocations: 1.314 MB / 358.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.09363, allocations: 238.7 kB / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.09398, allocations: 192.8 kB / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.09401, allocations: 0 / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.09404, allocations: 42.56 kB / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.162e-06/0.09405, allocations: 0 / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001313/0.09537, allocations: 0.5462 MB / 359.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.09548, allocations: 239.3 kB / 359.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.09567, allocations: 207 kB / 359.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.0957, allocations: 29.7 kB / 359.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.09582, allocations: 200.2 kB / 359.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.09589, allocations: 106.4 kB / 359.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.096, allocations: 61.7 kB / 360 MB, free: 9.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.09611, allocations: 334.8 kB / 360.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.09627, allocations: 75.97 kB / 360.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.0965, allocations: 160.7 kB / 360.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.09683, allocations: 211.3 kB / 360.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.09684, allocations: 4 kB / 360.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004303/0.09728, allocations: 276.9 kB / 361 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.0973, allocations: 7.984 kB / 361 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.09731, allocations: 0 / 361 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.09733, allocations: 4 kB / 361 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.09766, allocations: 83.95 kB / 361.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.09768, allocations: 4 kB / 361.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.09784, allocations: 27.69 kB / 361.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.09786, allocations: 12 kB / 361.2 MB, free: 8.668 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.0001397/0.09801, allocations: 145.8 kB / 361.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.09807, allocations: 31.66 kB / 361.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.09814, allocations: 34.64 kB / 361.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.09815, allocations: 0 / 361.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.09816, allocations: 8 kB / 361.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.09817, allocations: 3.984 kB / 361.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.09915, allocations: 0.7672 MB / 362.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.09916, allocations: 0 / 362.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.09941, allocations: 55.91 kB / 362.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.09972, allocations: 96.77 kB / 362.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.09974, allocations: 4 kB / 362.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.1016, allocations: 1.839 MB / 364.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1016, allocations: 4.031 kB / 364.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007361/0.1023, allocations: 0.4995 MB / 364.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.1024, allocations: 108.9 kB / 364.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1024, allocations: 8.125 kB / 364.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1026, allocations: 15.98 kB / 364.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.1027, allocations: 23.97 kB / 364.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1027, allocations: 4 kB / 364.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1028, allocations: 152.6 kB / 364.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1028, allocations: 0 / 364.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.1032, allocations: 99.69 kB / 365 MB, free: 4.527 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.0001163/0.1033, allocations: 117.7 kB / 365.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.1037, allocations: 216 kB / 365.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1037, allocations: 0 / 365.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.1041, allocations: 270.5 kB / 365.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1045, allocations: 40.11 kB / 365.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1057, allocations: 0.9961 MB / 366.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1061, allocations: 0.7872 MB / 367.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.1062, allocations: 25.94 kB / 367.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.1062, allocations: 23.44 kB / 367.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1062, allocations: 0 / 367.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of Templates: time 0.1349/0.2411, allocations: 2.915 MB / 370.4 MB, free: 24.88 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