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/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_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/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 196.7 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007547/0.0007547, allocations: 101.9 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002108, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1819, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0839/0.2659, allocations: 79.06 MB / 488.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.2661, allocations: 67.97 kB / 488.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.2815, allocations: 5.993 MB / 494.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2815, allocations: 4 kB / 494.5 MB, free: 6.422 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.2816, allocations: 8 kB / 494.5 MB, free: 6.414 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.0008195/0.2824, allocations: 0.6085 MB / 495.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2824, allocations: 12.03 kB / 495.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.2826, allocations: 64.36 kB / 495.2 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2829, allocations: 276.4 kB / 495.5 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.283, allocations: 29.38 kB / 495.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.283, allocations: 44.38 kB / 495.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.2837, allocations: 451.8 kB / 496 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2837, allocations: 4.125 kB / 496 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.2838, allocations: 19.94 kB / 496 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2838, allocations: 12 kB / 496 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.2843, allocations: 283.8 kB / 496.3 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.2861, allocations: 1.342 MB / 497.6 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.2865, allocations: 246.1 kB / 497.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.2868, allocations: 192.7 kB / 498 MB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2869, allocations: 4 kB / 498.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2869, allocations: 38.5 kB / 498.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.2869, allocations: 0 / 498.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001331/0.2883, allocations: 0.5551 MB / 498.6 MB, free: 2.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.2884, allocations: 239.3 kB / 498.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2886, allocations: 206.9 kB / 499.1 MB, free: 1.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2886, allocations: 33.7 kB / 499.1 MB, free: 1.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2887, allocations: 200.2 kB / 499.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.2888, allocations: 110.4 kB / 499.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.2888, allocations: 4 kB / 499.4 MB, free: 1.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2889, allocations: 338.8 kB / 499.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2891, allocations: 79.95 kB / 499.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2893, allocations: 149.2 kB / 500 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.2896, allocations: 208.1 kB / 0.4885 GB, free: 360 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2896, allocations: 0 / 0.4885 GB, free: 360 kB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004232/0.2901, allocations: 284.9 kB / 0.4887 GB, free: 68 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2901, allocations: 7.938 kB / 0.4887 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2901, allocations: 0 / 0.4887 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2901, allocations: 4 kB / 0.4887 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.2905, allocations: 84.06 kB / 0.4888 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.2905, allocations: 0 / 0.4888 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.2906, allocations: 31.75 kB / 0.4888 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2907, allocations: 8 kB / 0.4889 GB, free: 15.93 MB / 378.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.000143/0.2908, allocations: 149.8 kB / 0.489 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.2909, allocations: 27.73 kB / 0.489 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.2909, allocations: 30.66 kB / 0.4891 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2909, allocations: 8 kB / 0.4891 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.291, allocations: 4 kB / 0.4891 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.291, allocations: 3.984 kB / 0.4891 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.292, allocations: 0.7789 MB / 0.4898 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.292, allocations: 4 kB / 0.4898 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.2923, allocations: 63.92 kB / 0.4899 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.2925, allocations: 88.09 kB / 0.49 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2926, allocations: 4 kB / 0.49 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.2943, allocations: 1.827 MB / 0.4918 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.2943, allocations: 4.094 kB / 0.4918 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.295, allocations: 0.5225 MB / 0.4923 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.2951, allocations: 96.77 kB / 0.4924 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.2951, allocations: 12.05 kB / 0.4924 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2953, allocations: 12 kB / 0.4924 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2954, allocations: 19.97 kB / 0.4924 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2954, allocations: 16 kB / 0.4924 GB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.2955, allocations: 152.4 kB / 0.4926 GB, free: 11.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2955, allocations: 0 / 0.4926 GB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000381/0.2959, allocations: 115.6 kB / 0.4927 GB, free: 11.77 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.000135/0.296, allocations: 111.1 kB / 0.4928 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.2964, allocations: 215.7 kB / 0.493 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2964, allocations: 0 / 0.493 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.2968, allocations: 274.5 kB / 0.4933 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2972, allocations: 42.27 kB / 0.4933 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2985, allocations: 1.055 MB / 0.4943 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2988, allocations: 0.7872 MB / 0.4951 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.761e-05/0.2989, allocations: 21.94 kB / 0.4951 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.299, allocations: 23.42 kB / 0.4951 GB, free: 9.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.299, allocations: 4 kB / 0.4951 GB, free: 9.176 MB / 378.7 MB Notification: Performance of Templates: time 0.005649/0.3046, allocations: 2.814 MB / 0.4979 GB, free: 6.375 MB / 378.7 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","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches