Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.00105, allocations: 108 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 65.83 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09163, allocations: 50.53 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003556/0.09521, allocations: 2.883 MB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.09638, allocations: 0.7594 MB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.09649, allocations: 4 kB / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.09662, allocations: 43.67 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.09681, allocations: 83.3 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.09711, allocations: 115.8 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.09748, allocations: 422.8 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.09777, allocations: 198 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.098, allocations: 167.4 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.09821, allocations: 195.2 kB / 361.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.09827, allocations: 39.94 kB / 361.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.09838, allocations: 40 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.09846, allocations: 87.73 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.09864, allocations: 207 kB / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.09912, allocations: 498.5 kB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.09913, allocations: 7.938 kB / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.09914, allocations: 0 / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.09915, allocations: 0 / 362.5 MB, free: 8.789 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.001023/0.1002, allocations: 0.6904 MB / 363.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1002, allocations: 8.031 kB / 363.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.1005, allocations: 56.45 kB / 363.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1007, allocations: 268.5 kB / 363.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.1008, allocations: 29.38 kB / 363.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.1008, allocations: 48.28 kB / 363.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.1015, allocations: 463.5 kB / 364 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1015, allocations: 0 / 364 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.1016, allocations: 16 kB / 364 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1016, allocations: 8 kB / 364.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.1021, allocations: 287.8 kB / 364.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.1038, allocations: 1.307 MB / 365.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.1043, allocations: 242.3 kB / 365.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.1046, allocations: 197.9 kB / 366.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1047, allocations: 4 kB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1047, allocations: 42.56 kB / 366.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.1047, allocations: 0 / 366.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001341/0.106, allocations: 0.5462 MB / 366.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.1061, allocations: 239.3 kB / 366.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1063, allocations: 206.8 kB / 367.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1064, allocations: 33.7 kB / 367.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1065, allocations: 200.2 kB / 367.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.1066, allocations: 102.5 kB / 367.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.1067, allocations: 57.7 kB / 367.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1068, allocations: 338.8 kB / 367.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1069, allocations: 79.7 kB / 367.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1072, allocations: 156.4 kB / 368 MB, free: 2.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.1075, allocations: 203.2 kB / 368.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1075, allocations: 0 / 368.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004477/0.1079, allocations: 277.1 kB / 368.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.108, allocations: 11.94 kB / 368.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.108, allocations: 0 / 368.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.108, allocations: 0 / 368.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.1083, allocations: 83.95 kB / 368.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1084, allocations: 4 kB / 368.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1085, allocations: 35.69 kB / 368.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1085, allocations: 8.078 kB / 368.7 MB, free: 2.227 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.0001349/0.1087, allocations: 153.7 kB / 368.8 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1087, allocations: 31.64 kB / 368.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.1088, allocations: 30.66 kB / 368.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1088, allocations: 7.938 kB / 368.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1088, allocations: 0 / 368.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1088, allocations: 11.98 kB / 368.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.1098, allocations: 0.7652 MB / 369.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1099, allocations: 0 / 369.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.1101, allocations: 51.97 kB / 369.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/0.1104, allocations: 96.75 kB / 369.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1105, allocations: 8 kB / 369.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1535/0.264, allocations: 1.824 MB / 371.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.264, allocations: 4.969 kB / 371.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.2649, allocations: 0.4951 MB / 372.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.265, allocations: 101.3 kB / 372.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.265, allocations: 11.69 kB / 372.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2652, allocations: 12.78 kB / 372.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.2653, allocations: 24.31 kB / 372.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2653, allocations: 7.219 kB / 372.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.2655, allocations: 149.2 kB / 372.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.2655, allocations: 1.438 kB / 372.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.2659, allocations: 106.9 kB / 372.5 MB, free: 18.73 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.0001582/0.2661, allocations: 107.9 kB / 372.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.2666, allocations: 206.6 kB / 372.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2667, allocations: 0 / 372.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.2671, allocations: 275 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2675, allocations: 38.39 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2687, allocations: 1.007 MB / 374.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2689, allocations: 0.7846 MB / 374.9 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.269, allocations: 28.5 kB / 375 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.2691, allocations: 21.94 kB / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2691, allocations: 0 / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of Templates: time 0.006701/0.2758, allocations: 2.924 MB / 377.9 MB, free: 17.03 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches