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.001247/0.001247, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 211.7 kB / 18.79 MB, free: 4.383 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.43/1.43, allocations: 230.4 MB / 250 MB, free: 9.031 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.002693/0.002693, allocations: 71.83 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2562, allocations: 53.31 MB / 420.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003841/0.2601, allocations: 2.859 MB / 423.5 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2613, allocations: 0.7594 MB / 424.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2614, allocations: 4 kB / 424.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2615, allocations: 67.34 kB / 424.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.2618, allocations: 103.1 kB / 424.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.2621, allocations: 127.7 kB / 424.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.2626, allocations: 442.8 kB / 425 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.2629, allocations: 168.9 kB / 425.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.2631, allocations: 179.4 kB / 425.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.2634, allocations: 203.2 kB / 425.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.2635, allocations: 48 kB / 425.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2636, allocations: 55.98 kB / 425.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.2636, allocations: 103.7 kB / 425.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2638, allocations: 211.1 kB / 425.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.2644, allocations: 0.5097 MB / 426.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2644, allocations: 0 / 426.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2644, allocations: 3.938 kB / 426.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2644, allocations: 0 / 426.5 MB, free: 2.535 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.001104/0.2655, allocations: 0.7005 MB / 427.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2655, allocations: 8.031 kB / 427.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.2658, allocations: 60.64 kB / 427.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.2661, allocations: 280.5 kB / 427.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.2661, allocations: 33.38 kB / 427.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.2662, allocations: 44.33 kB / 427.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.2669, allocations: 459.6 kB / 428 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2669, allocations: 0 / 428 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.267, allocations: 16 kB / 428 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.267, allocations: 8 kB / 428 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.2675, allocations: 287.8 kB / 428.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.2694, allocations: 1.299 MB / 429.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.2698, allocations: 226.5 kB / 429.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.2702, allocations: 180.8 kB / 430 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2702, allocations: 0 / 430 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2703, allocations: 38.56 kB / 430.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.242e-06/0.2703, allocations: 0 / 430.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001385/0.2717, allocations: 0.5502 MB / 430.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.2718, allocations: 239.3 kB / 430.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.272, allocations: 214.7 kB / 431.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.272, allocations: 29.7 kB / 431.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2722, allocations: 204.7 kB / 431.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.2723, allocations: 107.1 kB / 431.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2724, allocations: 61.69 kB / 431.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2726, allocations: 338.8 kB / 431.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2727, allocations: 71.97 kB / 431.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.273, allocations: 160.5 kB / 432 MB, free: 12.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.2733, allocations: 200.2 kB / 432.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2733, allocations: 0 / 432.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004825/0.2738, allocations: 277.1 kB / 432.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2738, allocations: 4 kB / 432.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2738, allocations: 0 / 432.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2739, allocations: 4 kB / 432.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.2742, allocations: 83.89 kB / 432.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2742, allocations: 3.938 kB / 432.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2744, allocations: 35.72 kB / 432.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2744, allocations: 12 kB / 432.6 MB, free: 11.98 MB / 350.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.0001572/0.2745, allocations: 157.8 kB / 432.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.2746, allocations: 27.8 kB / 432.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.2747, allocations: 30.64 kB / 432.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2747, allocations: 4 kB / 432.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2747, allocations: 0 / 432.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2747, allocations: 3.938 kB / 432.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.2758, allocations: 0.7634 MB / 433.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2758, allocations: 32 / 433.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.2761, allocations: 51.97 kB / 433.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.2764, allocations: 92.73 kB / 433.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2764, allocations: 8 kB / 433.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.2785, allocations: 1.977 MB / 435.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2785, allocations: 0 / 435.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.2793, allocations: 0.5013 MB / 436.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.2794, allocations: 104.9 kB / 436.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.2794, allocations: 12.06 kB / 436.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2796, allocations: 8 kB / 436.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2796, allocations: 23.97 kB / 436.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2797, allocations: 8 kB / 436.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2798, allocations: 152.5 kB / 436.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2798, allocations: 0 / 436.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.2802, allocations: 115.7 kB / 436.6 MB, free: 7.703 MB / 350.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.0001343/0.2803, allocations: 103.2 kB / 436.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.2807, allocations: 203.9 kB / 436.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2807, allocations: 0 / 436.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.2812, allocations: 270.5 kB / 437.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.2816, allocations: 35.98 kB / 437.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2829, allocations: 0.8538 MB / 438.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2834, allocations: 0.7908 MB / 438.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.2834, allocations: 17.95 kB / 438.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.2835, allocations: 27.42 kB / 438.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2835, allocations: 4 kB / 438.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00762/0.2911, allocations: 3.171 MB / 442.1 MB, free: 2.16 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 -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/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) Reference file matches