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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001755, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 198 kB / 18.73 MB, free: 4.312 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.424/1.424, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.00196/0.00196, allocations: 67.89 kB / 359 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2748, allocations: 50.55 MB / 409.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003979/0.2788, allocations: 2.851 MB / 412.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2802, allocations: 0.7595 MB / 413.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2804, allocations: 8 kB / 413.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2805, allocations: 59.42 kB / 413.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2807, allocations: 95.06 kB / 413.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.2811, allocations: 127.8 kB / 413.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.2816, allocations: 450.8 kB / 413.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.282, allocations: 216.9 kB / 414.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.2823, allocations: 179.5 kB / 414.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.2825, allocations: 215.1 kB / 414.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.2826, allocations: 52 kB / 414.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2827, allocations: 48 kB / 414.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.2828, allocations: 95.69 kB / 414.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.283, allocations: 227 kB / 414.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.2836, allocations: 0.498 MB / 415.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2836, allocations: 0 / 415.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2836, allocations: 0 / 415.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.2836, allocations: 0 / 415.4 MB, free: 11.57 MB / 334.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.001136/0.2847, allocations: 0.6977 MB / 416.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2848, allocations: 8.031 kB / 416.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.285, allocations: 60.64 kB / 416.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.2854, allocations: 280.5 kB / 416.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.2855, allocations: 29.38 kB / 416.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.2855, allocations: 52.33 kB / 416.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.2863, allocations: 459.5 kB / 417 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2863, allocations: 0 / 417 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.2864, allocations: 16 kB / 417 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2864, allocations: 12 kB / 417 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005268/0.2869, allocations: 283.9 kB / 417.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2888, allocations: 1.307 MB / 418.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.2893, allocations: 238.7 kB / 418.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.2897, allocations: 200.7 kB / 419 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2898, allocations: 0 / 419 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2898, allocations: 38.5 kB / 419 MB, free: 7.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.242e-06/0.2898, allocations: 0 / 419 MB, free: 7.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00145/0.2913, allocations: 0.5503 MB / 419.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.2914, allocations: 239.3 kB / 419.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2917, allocations: 214.7 kB / 420 MB, free: 6.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2918, allocations: 33.7 kB / 420.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2919, allocations: 200.7 kB / 420.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.085e-05/0.292, allocations: 111 kB / 420.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.2921, allocations: 61.7 kB / 420.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2923, allocations: 330.8 kB / 420.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2924, allocations: 75.97 kB / 420.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.2927, allocations: 156.5 kB / 421 MB, free: 5.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.293, allocations: 200.2 kB / 421.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.293, allocations: 0 / 421.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004973/0.2935, allocations: 281.1 kB / 421.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2936, allocations: 4 kB / 421.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.2936, allocations: 0 / 421.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2936, allocations: 4 kB / 421.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2939, allocations: 79.89 kB / 421.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2939, allocations: 4 kB / 421.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2941, allocations: 35.72 kB / 421.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.2941, allocations: 12 kB / 421.6 MB, free: 4.98 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.0001526/0.2943, allocations: 149.8 kB / 421.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.2944, allocations: 27.8 kB / 421.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.2944, allocations: 38.64 kB / 421.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2945, allocations: 0 / 421.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.2945, allocations: 4 kB / 421.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2945, allocations: 3.938 kB / 421.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2956, allocations: 0.7712 MB / 422.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2956, allocations: 4 kB / 422.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.2958, allocations: 51.91 kB / 422.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.2962, allocations: 88.8 kB / 422.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2962, allocations: 4 kB / 422.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.2983, allocations: 1.989 MB / 424.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2984, allocations: 4.062 kB / 424.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.2991, allocations: 0.4973 MB / 425.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.2992, allocations: 104.9 kB / 425.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.2993, allocations: 8.062 kB / 425.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2994, allocations: 8 kB / 425.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.2995, allocations: 35.89 kB / 425.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2995, allocations: 8 kB / 425.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2997, allocations: 152.5 kB / 425.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.2997, allocations: 0 / 425.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3, allocations: 111.7 kB / 425.6 MB, free: 0.6797 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.0001326/0.3002, allocations: 103.2 kB / 425.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.3006, allocations: 212 kB / 425.9 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3006, allocations: 0 / 425.9 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.3011, allocations: 282.4 kB / 426.2 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3015, allocations: 35.5 kB / 426.3 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3028, allocations: 0.8538 MB / 427.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3032, allocations: 0.7831 MB / 427.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.3033, allocations: 21.94 kB / 427.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.3034, allocations: 27.44 kB / 427.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3034, allocations: 0 / 427.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.007149/0.3105, allocations: 3.137 MB / 431.1 MB, free: 11.17 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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) [Timeout 660] Reference file matches