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.00157/0.00157, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001831/0.001831, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2783, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003992/0.2824, allocations: 2.829 MB / 404.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2837, allocations: 0.7166 MB / 404.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.284, allocations: 8 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.2842, allocations: 63.36 kB / 405 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.2845, allocations: 95.06 kB / 405.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.2849, allocations: 123.8 kB / 405.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.2854, allocations: 442.8 kB / 405.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.2857, allocations: 224.9 kB / 405.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.2859, allocations: 179.4 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.2862, allocations: 203.2 kB / 406.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.2862, allocations: 48 kB / 406.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.2863, allocations: 48 kB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.2864, allocations: 99.67 kB / 406.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.2866, allocations: 215 kB / 406.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.2871, allocations: 0.4916 MB / 407.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2871, allocations: 0 / 407.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2871, allocations: 0 / 407.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.2871, allocations: 0 / 407.2 MB, free: 3.094 MB / 318.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.001065/0.2882, allocations: 0.6943 MB / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2882, allocations: 11.89 kB / 407.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.2883, allocations: 56.25 kB / 407.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.2886, allocations: 273.1 kB / 408.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.2886, allocations: 33.38 kB / 408.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.2887, allocations: 40.38 kB / 408.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.2894, allocations: 463.5 kB / 408.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2894, allocations: 0 / 408.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.2894, allocations: 16 kB / 408.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2894, allocations: 12 kB / 408.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.2899, allocations: 287.9 kB / 409 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2917, allocations: 1.302 MB / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.2921, allocations: 242.7 kB / 410.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.2925, allocations: 196.8 kB / 410.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2925, allocations: 4.5 kB / 410.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2925, allocations: 34.56 kB / 410.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.2925, allocations: 0 / 410.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001281/0.2938, allocations: 0.5457 MB / 411.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.2939, allocations: 235.3 kB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.2941, allocations: 207 kB / 411.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.2941, allocations: 29.7 kB / 411.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2943, allocations: 212.2 kB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.2943, allocations: 102.5 kB / 412.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.2944, allocations: 61.61 kB / 412.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2946, allocations: 338.8 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2947, allocations: 71.97 kB / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2949, allocations: 169.2 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.2952, allocations: 191.5 kB / 412.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2952, allocations: 0 / 412.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004203/0.2957, allocations: 280.9 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2957, allocations: 4 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2957, allocations: 3.984 kB / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2957, allocations: 4 kB / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.296, allocations: 79.91 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.296, allocations: 3.984 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2962, allocations: 31.69 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2962, allocations: 15.94 kB / 413.3 MB, free: 12.52 MB / 334.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.0001427/0.2964, allocations: 157.8 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.2965, allocations: 23.75 kB / 413.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.2965, allocations: 30.64 kB / 413.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2965, allocations: 4 kB / 413.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.2966, allocations: 3.938 kB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2966, allocations: 0 / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2977, allocations: 0.7749 MB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2977, allocations: 4 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.298, allocations: 48 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.2983, allocations: 92.73 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.2983, allocations: 4 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.3002, allocations: 1.979 MB / 416.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3002, allocations: 0 / 416.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.3009, allocations: 0.4983 MB / 416.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.301, allocations: 96.84 kB / 417 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.3011, allocations: 16 kB / 417 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3012, allocations: 8 kB / 417.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.3013, allocations: 27.95 kB / 417.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3013, allocations: 12 kB / 417.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.3014, allocations: 148.5 kB / 417.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3014, allocations: 0 / 417.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.3018, allocations: 115.5 kB / 417.4 MB, free: 8.238 MB / 334.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.0001115/0.3019, allocations: 103.2 kB / 417.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3023, allocations: 219.8 kB / 417.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3023, allocations: 0 / 417.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.3027, allocations: 270.5 kB / 417.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3031, allocations: 28.11 kB / 418 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3043, allocations: 0.8786 MB / 418.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3046, allocations: 0.7831 MB / 419.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.3047, allocations: 23.42 kB / 419.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3047, allocations: 0 / 419.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of Templates: time 0.006118/0.3108, allocations: 4.098 MB / 423.7 MB, free: 1.754 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/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