Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007721/0.0007721, allocations: 93.48 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008744/0.0008744, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002133, allocations: 4 kB / 308.4 MB, free: 0.7617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08614, allocations: 51.53 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002816/0.089, allocations: 2.49 MB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.09042, allocations: 0.7596 MB / 363.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.09066, allocations: 12 kB / 363.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.09084, allocations: 39.67 kB / 363.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.09114, allocations: 83.3 kB / 363.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.09155, allocations: 107.8 kB / 363.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.09203, allocations: 422.8 kB / 363.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.09235, allocations: 190 kB / 364 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.09263, allocations: 155.4 kB / 364.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.0929, allocations: 171.2 kB / 364.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.09299, allocations: 24 kB / 364.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.0931, allocations: 28 kB / 364.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.09322, allocations: 83.67 kB / 364.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.0934, allocations: 212.7 kB / 364.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.09375, allocations: 379.1 kB / 365 MB, free: 8.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09376, allocations: 0 / 365 MB, free: 8.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09377, allocations: 0 / 365 MB, free: 8.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.09379, allocations: 0 / 365 MB, free: 8.078 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.000951/0.09474, allocations: 0.628 MB / 365.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.09479, allocations: 8.031 kB / 365.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.09505, allocations: 60.45 kB / 365.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.09534, allocations: 276.4 kB / 366 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.09538, allocations: 33.38 kB / 366 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.09546, allocations: 44.38 kB / 366.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.09621, allocations: 447.6 kB / 366.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.09628, allocations: 7.906 kB / 366.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.09632, allocations: 20 kB / 366.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.09634, allocations: 12 kB / 366.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.09688, allocations: 283.9 kB / 366.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.09877, allocations: 1.318 MB / 368.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.09921, allocations: 237.9 kB / 368.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.09961, allocations: 205.8 kB / 368.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.09964, allocations: 4 kB / 368.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.09968, allocations: 38.56 kB / 368.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.09968, allocations: 0 / 368.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001386/0.1011, allocations: 0.554 MB / 369.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1012, allocations: 235.3 kB / 369.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1014, allocations: 206.8 kB / 369.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1014, allocations: 33.7 kB / 369.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1016, allocations: 200.2 kB / 369.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.1016, allocations: 114.4 kB / 369.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1017, allocations: 29.7 kB / 370 MB, free: 2.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1018, allocations: 342.8 kB / 370.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.102, allocations: 71.97 kB / 370.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1022, allocations: 160.3 kB / 370.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1025, allocations: 204 kB / 370.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1025, allocations: 4 kB / 370.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004884/0.103, allocations: 281.1 kB / 371 MB, free: 1.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1031, allocations: 8.062 kB / 371 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1031, allocations: 0 / 371 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1031, allocations: 4 kB / 371 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.1034, allocations: 79.89 kB / 371.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1035, allocations: 0 / 371.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1036, allocations: 35.69 kB / 371.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1037, allocations: 15.98 kB / 371.1 MB, free: 1.562 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.0001403/0.1038, allocations: 153.7 kB / 371.3 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.1039, allocations: 31.66 kB / 371.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.104, allocations: 30.66 kB / 371.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.104, allocations: 7.984 kB / 371.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.104, allocations: 0 / 371.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.104, allocations: 3.984 kB / 371.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.105, allocations: 0.769 MB / 372.1 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.105, allocations: 15.95 kB / 372.2 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1053, allocations: 51.97 kB / 372.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.1056, allocations: 84.75 kB / 372.3 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1056, allocations: 11.98 kB / 372.3 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1623/0.2679, allocations: 1.824 MB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2679, allocations: 0.9688 kB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.2687, allocations: 0.507 MB / 374.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.2688, allocations: 105.2 kB / 374.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.2689, allocations: 7.266 kB / 374.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.269, allocations: 10.92 kB / 374.8 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.2691, allocations: 31.12 kB / 374.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2691, allocations: 5.875 kB / 374.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.2693, allocations: 154.2 kB / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2693, allocations: 0 / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.2697, allocations: 103.7 kB / 375 MB, free: 17.52 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 0.0001362/0.2698, allocations: 105.1 kB / 375.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.2703, allocations: 216.3 kB / 375.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2704, allocations: 1 kB / 375.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.2708, allocations: 272.4 kB / 375.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.2712, allocations: 30.41 kB / 375.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.2726, allocations: 1.136 MB / 376.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2729, allocations: 0.7852 MB / 377.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.273, allocations: 27.38 kB / 377.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.273, allocations: 0 / 377.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of Templates: time 0.008377/0.2814, allocations: 3.997 MB / 381.6 MB, free: 15.63 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches