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.0007753/0.0007754, allocations: 97.16 kB / 17.31 MB, free: 5.938 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.001045/0.001045, allocations: 186.5 kB / 18.22 MB, free: 5.414 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.141/1.141, allocations: 223.3 MB / 242.3 MB, free: 14.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002121/0.0002121, allocations: 7.938 kB / 302.1 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06948/0.06971, allocations: 50.43 MB / 352.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002179/0.0719, allocations: 2.485 MB / 355 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.07288, allocations: 0.7089 MB / 355.7 MB, free: 252 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.07301, allocations: 4 kB / 355.7 MB, free: 248 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.559e-05/0.07311, allocations: 43.67 kB / 355.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.07331, allocations: 83.3 kB / 355.8 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.07357, allocations: 99.91 kB / 355.9 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.07395, allocations: 434.7 kB / 356.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.07421, allocations: 190 kB / 356.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.07438, allocations: 139.5 kB / 356.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.07457, allocations: 175.2 kB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.07462, allocations: 24 kB / 356.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.07467, allocations: 24 kB / 356.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.07472, allocations: 71.69 kB / 356.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.07487, allocations: 208.8 kB / 357.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.07514, allocations: 383.1 kB / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.07515, allocations: 0 / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.07516, allocations: 3.938 kB / 357.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.07517, allocations: 0 / 357.5 MB, free: 14.38 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.0007982/0.07597, allocations: 0.6163 MB / 358.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.07601, allocations: 16.03 kB / 358.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.07608, allocations: 40.47 kB / 358.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.07632, allocations: 277.4 kB / 358.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.07635, allocations: 33.38 kB / 358.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.07641, allocations: 44.38 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.07702, allocations: 451.6 kB / 359 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.07704, allocations: 3.938 kB / 359 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.07708, allocations: 20 kB / 359 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.0771, allocations: 11.98 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.07755, allocations: 287.8 kB / 359.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.07911, allocations: 1.31 MB / 360.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.07949, allocations: 250.7 kB / 360.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.0798, allocations: 188.8 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.07983, allocations: 4 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.07986, allocations: 34.56 kB / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.323e-06/0.07986, allocations: 4 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001196/0.08106, allocations: 0.554 MB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.08116, allocations: 243.3 kB / 361.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.08132, allocations: 203 kB / 362.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.08135, allocations: 33.7 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.08146, allocations: 204.2 kB / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.08152, allocations: 102.5 kB / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.08157, allocations: 33.7 kB / 362.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.08167, allocations: 334.8 kB / 362.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.08181, allocations: 75.97 kB / 362.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.082, allocations: 164.8 kB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.0823, allocations: 203.3 kB / 363.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.08231, allocations: 0 / 363.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003977/0.08271, allocations: 285 kB / 363.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.08274, allocations: 8 kB / 363.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.08275, allocations: 3.984 kB / 363.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.08276, allocations: 0 / 363.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.08306, allocations: 79.89 kB / 363.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.08308, allocations: 7.938 kB / 363.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.08323, allocations: 35.67 kB / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.08325, allocations: 8.062 kB / 363.6 MB, free: 7.895 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.0001174/0.08337, allocations: 157.7 kB / 363.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.08343, allocations: 31.66 kB / 363.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-05/0.0835, allocations: 34.64 kB / 363.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.0835, allocations: 0 / 363.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.08352, allocations: 4 kB / 363.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.08352, allocations: 0 / 363.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.0844, allocations: 0.7827 MB / 364.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.08441, allocations: 0 / 364.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.08464, allocations: 51.97 kB / 364.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.08491, allocations: 88.8 kB / 364.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.08493, allocations: 11.94 kB / 364.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.08647, allocations: 1.839 MB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08649, allocations: 0 / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.08714, allocations: 0.5107 MB / 367.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.0872, allocations: 104.9 kB / 367.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.08724, allocations: 8.062 kB / 367.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.08739, allocations: 12 kB / 367.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.08744, allocations: 23.95 kB / 367.3 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.08746, allocations: 8 kB / 367.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.08757, allocations: 148.6 kB / 367.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08757, allocations: 0 / 367.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.08789, allocations: 107.6 kB / 367.5 MB, free: 3.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 7.829e-05/0.08797, allocations: 107.2 kB / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.08831, allocations: 220 kB / 367.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.08833, allocations: 0 / 367.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.08867, allocations: 282.7 kB / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.08902, allocations: 31.92 kB / 368.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.09016, allocations: 1.112 MB / 369.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.09044, allocations: 0.7872 MB / 370.1 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.0905, allocations: 23.44 kB / 370.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of SimCode: time 1.333e-06/0.09051, allocations: 4 kB / 370.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of Templates: time 0.1206/0.2111, allocations: 3.998 MB / 374.1 MB, free: 23.8 MB / 302.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