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.001129/0.001129, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008288/0.0008288, allocations: 101 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001851/0.0001851, allocations: 8 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1867, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08859/0.2754, allocations: 79.13 MB / 488.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.2756, allocations: 67.97 kB / 488.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.2907, allocations: 5.995 MB / 494.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2908, allocations: 0 / 494.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.2908, allocations: 8 kB / 494.6 MB, free: 5.422 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.0007848/0.2916, allocations: 0.6161 MB / 495.2 MB, free: 4.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2916, allocations: 8.031 kB / 495.2 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.2918, allocations: 63.42 kB / 495.3 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.2921, allocations: 279.1 kB / 495.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2922, allocations: 33 kB / 495.6 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.2922, allocations: 40 kB / 495.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.2928, allocations: 443.3 kB / 496.1 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2929, allocations: 4 kB / 496.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.2929, allocations: 16 kB / 496.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2929, allocations: 11.94 kB / 496.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.2934, allocations: 291.9 kB / 496.4 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.295, allocations: 1.326 MB / 497.7 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.2954, allocations: 254 kB / 498 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2955, allocations: 4 kB / 498 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2955, allocations: 42.56 kB / 498 MB, free: 1.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.2955, allocations: 0 / 498 MB, free: 1.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001232/0.2967, allocations: 0.558 MB / 498.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.2968, allocations: 243.3 kB / 498.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.297, allocations: 190.1 kB / 499 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2971, allocations: 29.7 kB / 499 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.2972, allocations: 196.3 kB / 499.2 MB, free: 500 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.2972, allocations: 98.5 kB / 499.3 MB, free: 400 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.2972, allocations: 12 kB / 499.3 MB, free: 388 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.2973, allocations: 334.8 kB / 499.6 MB, free: 44 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.2975, allocations: 80.05 kB / 499.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.2977, allocations: 163.4 kB / 499.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.2979, allocations: 112 kB / 500 MB, free: 15.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2979, allocations: 0 / 500 MB, free: 15.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004091/0.2983, allocations: 280.8 kB / 0.4885 GB, free: 15.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2983, allocations: 4 kB / 0.4885 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2983, allocations: 7.938 kB / 0.4885 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2984, allocations: 3.953 kB / 0.4885 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.2987, allocations: 79.89 kB / 0.4886 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2987, allocations: 4 kB / 0.4886 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.2989, allocations: 39.67 kB / 0.4887 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2989, allocations: 8 kB / 0.4887 GB, free: 15.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001279/0.299, allocations: 149.8 kB / 0.4888 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.2991, allocations: 19.81 kB / 0.4888 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.2992, allocations: 34.64 kB / 0.4889 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2992, allocations: 11.94 kB / 0.4889 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.2992, allocations: 4 kB / 0.4889 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2992, allocations: 0 / 0.4889 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.2996, allocations: 397.2 kB / 0.4893 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2996, allocations: 0 / 0.4893 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.2998, allocations: 55.91 kB / 0.4893 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.3001, allocations: 88.8 kB / 0.4894 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3002, allocations: 4 kB / 0.4894 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.3018, allocations: 1.86 MB / 0.4912 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3018, allocations: 112 / 0.4912 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.3025, allocations: 0.5139 MB / 0.4917 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.3026, allocations: 108.8 kB / 0.4918 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3026, allocations: 11.95 kB / 0.4918 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3028, allocations: 8 kB / 0.4918 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.3028, allocations: 27.95 kB / 0.4919 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3029, allocations: 8 kB / 0.4919 GB, free: 11.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.303, allocations: 148.4 kB / 0.492 GB, free: 11.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.303, allocations: 0 / 0.492 GB, free: 11.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.3033, allocations: 119.6 kB / 0.4921 GB, free: 11.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001608/0.3035, allocations: 107.2 kB / 0.4922 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3039, allocations: 228 kB / 0.4925 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3039, allocations: 7.922 kB / 0.4925 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.3043, allocations: 274.6 kB / 0.4927 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3046, allocations: 34.28 kB / 0.4928 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3059, allocations: 1.056 MB / 0.4938 GB, free: 9.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3062, allocations: 0.7911 MB / 0.4946 GB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.436e-05/0.3063, allocations: 21.94 kB / 0.4946 GB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.3064, allocations: 23.44 kB / 0.4946 GB, free: 8.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3064, allocations: 4 kB / 0.4946 GB, free: 8.863 MB / 378.7 MB Notification: Performance of Templates: time 0.005783/0.3122, allocations: 2.794 MB / 0.4973 GB, free: 6.074 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/jenkins/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