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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 176.4 kB / 17.4 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007779/0.0007775, allocations: 98.81 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 8 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08257/0.2702, allocations: 78.35 MB / 481.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.2704, allocations: 75.95 kB / 481.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.2855, allocations: 5.847 MB / 487 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2856, allocations: 0 / 487 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.2856, allocations: 8 kB / 487 MB, free: 12.08 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.0008425/0.2864, allocations: 0.6007 MB / 487.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2865, allocations: 12.03 kB / 487.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.2866, allocations: 44.38 kB / 487.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.2869, allocations: 282 kB / 487.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.2869, allocations: 37.36 kB / 488 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.287, allocations: 44.38 kB / 488 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.2877, allocations: 447.8 kB / 488.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2877, allocations: 192 / 488.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.2878, allocations: 27.94 kB / 488.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2878, allocations: 8 kB / 488.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.2883, allocations: 283.9 kB / 488.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.2904, allocations: 1.33 MB / 490.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.2908, allocations: 250.6 kB / 490.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.2912, allocations: 189.3 kB / 490.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2912, allocations: 8 kB / 490.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2912, allocations: 38.56 kB / 490.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.2913, allocations: 4 kB / 490.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001316/0.2926, allocations: 0.554 MB / 491.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2927, allocations: 235.3 kB / 491.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2929, allocations: 210.9 kB / 491.6 MB, free: 7.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2929, allocations: 29.7 kB / 491.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.293, allocations: 200.3 kB / 491.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.2931, allocations: 106.5 kB / 491.9 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.2931, allocations: 11.94 kB / 491.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2933, allocations: 334.8 kB / 492.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2934, allocations: 75.97 kB / 492.3 MB, free: 6.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2936, allocations: 169.3 kB / 492.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.2939, allocations: 192.7 kB / 492.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.294, allocations: 4 kB / 492.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004251/0.2944, allocations: 277 kB / 492.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2944, allocations: 7.938 kB / 493 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.2944, allocations: 4 kB / 493 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2944, allocations: 3.938 kB / 493 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.2948, allocations: 79.89 kB / 493 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2948, allocations: 4 kB / 493 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.2949, allocations: 35.67 kB / 493.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.295, allocations: 8 kB / 493.1 MB, free: 5.617 MB / 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.0001355/0.2951, allocations: 153.8 kB / 493.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.2952, allocations: 23.75 kB / 493.3 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.2952, allocations: 34.64 kB / 493.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2952, allocations: 4 kB / 493.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.2953, allocations: 4 kB / 493.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2953, allocations: 3.938 kB / 493.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.2963, allocations: 0.7905 MB / 494.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2963, allocations: 0 / 494.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2965, allocations: 51.97 kB / 494.1 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.2968, allocations: 96.67 kB / 494.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2969, allocations: 4 kB / 494.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.2986, allocations: 1.827 MB / 496.1 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2986, allocations: 4.031 kB / 496.1 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.2993, allocations: 0.5034 MB / 496.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.2994, allocations: 100.8 kB / 496.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.2994, allocations: 8.25 kB / 496.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2996, allocations: 19.98 kB / 496.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.2996, allocations: 23.97 kB / 496.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2997, allocations: 8 kB / 496.7 MB, free: 1.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.2998, allocations: 144.6 kB / 496.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2998, allocations: 0 / 496.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.3001, allocations: 111.6 kB / 497 MB, free: 1.469 MB / 362.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.0001282/0.3003, allocations: 115.2 kB / 497.1 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.3007, allocations: 227.8 kB / 497.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3007, allocations: 0 / 497.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3011, allocations: 266.7 kB / 497.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3014, allocations: 43.92 kB / 497.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3027, allocations: 1.051 MB / 498.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.303, allocations: 0.7833 MB / 499.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.865e-05/0.3031, allocations: 29.94 kB / 499.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.3032, allocations: 19.44 kB / 499.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3032, allocations: 3.938 kB / 499.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of Templates: time 0.005669/0.3088, allocations: 2.816 MB / 0.4906 GB, free: 12.07 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches