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.001381/0.001381, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 208 kB / 19.41 MB, free: 3.645 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.398/1.398, allocations: 227.7 MB / 247.9 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.001912/0.001912, allocations: 67.88 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2257, allocations: 50.54 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003976/0.2296, allocations: 2.859 MB / 413.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2309, allocations: 0.7595 MB / 413.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.2311, allocations: 4 kB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2312, allocations: 59.42 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.2314, allocations: 95.06 kB / 414 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2318, allocations: 131.7 kB / 414.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.2322, allocations: 454.8 kB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.2325, allocations: 156.9 kB / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.2328, allocations: 183.4 kB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.2331, allocations: 207.1 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.2331, allocations: 48 kB / 415.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2332, allocations: 56 kB / 415.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.2333, allocations: 99.67 kB / 415.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.2335, allocations: 219 kB / 415.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.2341, allocations: 0.5058 MB / 416 MB, free: 11.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2341, allocations: 0 / 416 MB, free: 11.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2341, allocations: 0 / 416 MB, free: 11.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2341, allocations: 0 / 416 MB, free: 11.63 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.00114/0.2352, allocations: 0.6938 MB / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2353, allocations: 8.031 kB / 416.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.2355, allocations: 64.64 kB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2358, allocations: 280.4 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2359, allocations: 33.38 kB / 417.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.2359, allocations: 48.33 kB / 417.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.2367, allocations: 455.5 kB / 417.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2367, allocations: 4 kB / 417.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.2367, allocations: 16 kB / 417.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2367, allocations: 15.98 kB / 417.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.2373, allocations: 283.9 kB / 417.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.2392, allocations: 1.303 MB / 419.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.2397, allocations: 223.5 kB / 419.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.24, allocations: 176.8 kB / 419.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2401, allocations: 4 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2401, allocations: 38.56 kB / 419.6 MB, free: 7.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2401, allocations: 0 / 419.6 MB, free: 7.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001426/0.2415, allocations: 0.5464 MB / 420.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.2417, allocations: 235.3 kB / 420.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.2419, allocations: 214.7 kB / 420.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.2419, allocations: 33.7 kB / 420.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.2421, allocations: 204.7 kB / 420.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.2422, allocations: 107.1 kB / 420.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.2423, allocations: 61.7 kB / 421 MB, free: 6.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2424, allocations: 330.8 kB / 421.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2426, allocations: 71.97 kB / 421.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2428, allocations: 160.5 kB / 421.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.2432, allocations: 200.2 kB / 421.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2432, allocations: 0 / 421.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004925/0.2437, allocations: 277.1 kB / 422 MB, free: 5.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2437, allocations: 8 kB / 422 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.2437, allocations: 3.984 kB / 422 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2437, allocations: 4 kB / 422 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.2441, allocations: 75.91 kB / 422.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2441, allocations: 8.062 kB / 422.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2442, allocations: 31.73 kB / 422.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.2443, allocations: 15.98 kB / 422.2 MB, free: 5.086 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.0001528/0.2444, allocations: 153.8 kB / 422.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.2445, allocations: 27.8 kB / 422.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-05/0.2446, allocations: 38.58 kB / 422.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2446, allocations: 4 kB / 422.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/0.2446, allocations: 4 kB / 422.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.2446, allocations: 7.938 kB / 422.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2457, allocations: 0.7711 MB / 423.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2457, allocations: 0 / 423.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.246, allocations: 47.97 kB / 423.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/0.2463, allocations: 92.8 kB / 423.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2463, allocations: 4 kB / 423.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.2485, allocations: 1.988 MB / 425.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2485, allocations: 0 / 425.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008066/0.2493, allocations: 0.4896 MB / 425.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.2494, allocations: 104.9 kB / 425.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.2495, allocations: 8.062 kB / 425.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2496, allocations: 16.06 kB / 425.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.2497, allocations: 27.89 kB / 425.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2497, allocations: 12 kB / 425.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.2499, allocations: 148.5 kB / 426.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2499, allocations: 0 / 426.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000405/0.2503, allocations: 111.7 kB / 426.2 MB, free: 0.793 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.0001398/0.2504, allocations: 107.2 kB / 426.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.2508, allocations: 199.9 kB / 426.5 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2508, allocations: 0 / 426.5 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.2513, allocations: 266.5 kB / 426.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2517, allocations: 35.92 kB / 426.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.253, allocations: 0.8593 MB / 427.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.2535, allocations: 0.7831 MB / 428.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.944e-05/0.2536, allocations: 25.94 kB / 428.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.2536, allocations: 19.44 kB / 428.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2536, allocations: 0 / 428.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007425/0.261, allocations: 3.176 MB / 431.6 MB, free: 11.26 MB / 350.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 -s gbode -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