Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009342/0.0009343, allocations: 199.2 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008206/0.0008206, allocations: 91.83 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002118/0.0002119, allocations: 4 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1744, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08326/0.2577, allocations: 79.06 MB / 487.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.2579, allocations: 68.59 kB / 487.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.273, allocations: 5.989 MB / 493.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.273, allocations: 0 / 493.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.273, allocations: 8 kB / 493.8 MB, free: 6.484 MB / 362.7 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.0008398/0.2739, allocations: 0.6163 MB / 494.4 MB, free: 5.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2739, allocations: 8.031 kB / 494.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.2742, allocations: 72.3 kB / 494.5 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2745, allocations: 272.4 kB / 494.7 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2745, allocations: 29.38 kB / 494.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.2746, allocations: 44.38 kB / 494.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.2753, allocations: 451.8 kB / 495.3 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2753, allocations: 8.125 kB / 495.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.2753, allocations: 19.94 kB / 495.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2753, allocations: 8 kB / 495.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.2759, allocations: 283.8 kB / 495.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.2777, allocations: 1.338 MB / 496.9 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.2781, allocations: 250.1 kB / 497.2 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.2785, allocations: 188.7 kB / 497.3 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2785, allocations: 8 kB / 497.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2785, allocations: 38.56 kB / 497.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.237e-06/0.2785, allocations: 0 / 497.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001319/0.2799, allocations: 0.555 MB / 497.9 MB, free: 2.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.28, allocations: 239.3 kB / 498.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2802, allocations: 210.9 kB / 498.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2802, allocations: 29.7 kB / 498.4 MB, free: 1.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2803, allocations: 196.3 kB / 498.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.2804, allocations: 110.4 kB / 498.7 MB, free: 1.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.2804, allocations: 8 kB / 498.7 MB, free: 1.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2805, allocations: 338.8 kB / 499 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2807, allocations: 75.95 kB / 499.1 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2809, allocations: 153.2 kB / 499.3 MB, free: 0.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2812, allocations: 212.1 kB / 499.5 MB, free: 420 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2812, allocations: 0 / 499.5 MB, free: 420 kB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004341/0.2817, allocations: 277 kB / 499.7 MB, free: 136 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2817, allocations: 11.94 kB / 499.8 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2817, allocations: 0 / 499.8 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2817, allocations: 0 / 499.8 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2821, allocations: 79.89 kB / 499.8 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2821, allocations: 8.062 kB / 499.8 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2822, allocations: 27.75 kB / 499.9 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2822, allocations: 8 kB / 499.9 MB, free: 0 / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.2824, allocations: 149.8 kB / 0.4883 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.2825, allocations: 27.75 kB / 0.4883 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.2825, allocations: 34.64 kB / 0.4884 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2825, allocations: 0 / 0.4884 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2826, allocations: 7.938 kB / 0.4884 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2826, allocations: 7.984 kB / 0.4884 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2836, allocations: 0.7789 MB / 0.4891 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2836, allocations: 0 / 0.4891 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.2839, allocations: 59.89 kB / 0.4892 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/0.2842, allocations: 88.84 kB / 0.4893 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.2842, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.286, allocations: 1.838 MB / 0.4911 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2861, allocations: 0 / 0.4911 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.2868, allocations: 0.5148 MB / 0.4916 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.2869, allocations: 100.8 kB / 0.4917 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2869, allocations: 12.05 kB / 0.4917 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.2871, allocations: 8 kB / 0.4917 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.2872, allocations: 23.97 kB / 0.4917 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.2872, allocations: 8 kB / 0.4917 GB, free: 12.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.2873, allocations: 152.4 kB / 0.4919 GB, free: 11.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2873, allocations: 4 kB / 0.4919 GB, free: 11.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.2877, allocations: 119.6 kB / 0.492 GB, free: 11.83 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001496/0.2879, allocations: 107.1 kB / 0.4921 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.2883, allocations: 215.7 kB / 0.4923 GB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2883, allocations: 128 / 0.4923 GB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.2887, allocations: 278.5 kB / 0.4926 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.2891, allocations: 38.31 kB / 0.4926 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2904, allocations: 1.08 MB / 0.4937 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.2908, allocations: 0.7911 MB / 0.4944 GB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.2908, allocations: 23.44 kB / 0.4945 GB, free: 9.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2908, allocations: 0 / 0.4945 GB, free: 9.23 MB / 378.7 MB Notification: Performance of Templates: time 0.005366/0.2962, allocations: 4.001 MB / 0.4984 GB, free: 5.23 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches