Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 170.5 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 90.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002081/0.2146, allocations: 2.321 MB / 377.4 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.2155, allocations: 0.713 MB / 378.1 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2157, allocations: 6.5 kB / 378.1 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.2157, allocations: 46.92 kB / 378.2 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2159, allocations: 76.42 kB / 378.2 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2162, allocations: 94.56 kB / 378.3 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.2166, allocations: 404.8 kB / 378.7 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.2169, allocations: 184.7 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2171, allocations: 141.4 kB / 379 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2172, allocations: 171.5 kB / 379.2 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.2173, allocations: 23.47 kB / 379.2 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.2174, allocations: 23.5 kB / 379.3 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.2174, allocations: 64.92 kB / 379.3 MB, free: 42.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2176, allocations: 201.8 kB / 379.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2178, allocations: 381 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2178, allocations: 3.938 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2178, allocations: 1.156 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2179, allocations: 0 / 379.9 MB, free: 41.8 MB / 298.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.0007959/0.2187, allocations: 0.6117 MB / 380.5 MB, free: 41.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2187, allocations: 10.31 kB / 380.5 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.2188, allocations: 50.88 kB / 380.6 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.219, allocations: 275.5 kB / 380.8 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.2191, allocations: 35 kB / 380.9 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.2191, allocations: 39.75 kB / 380.9 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.2197, allocations: 451.8 kB / 381.4 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2198, allocations: 1.031 kB / 381.4 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2198, allocations: 16.25 kB / 381.4 MB, free: 40.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.2198, allocations: 10.09 kB / 381.4 MB, free: 40.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.2203, allocations: 286.5 kB / 381.7 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.2218, allocations: 1.318 MB / 383 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.2222, allocations: 248.7 kB / 383.2 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.2225, allocations: 194.5 kB / 383.4 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2226, allocations: 3.75 kB / 383.4 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2226, allocations: 36.19 kB / 383.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.2226, allocations: 1.188 kB / 383.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001263/0.2239, allocations: 0.5571 MB / 384 MB, free: 38.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.224, allocations: 238.8 kB / 384.2 MB, free: 38.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2242, allocations: 204.5 kB / 384.4 MB, free: 38.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2242, allocations: 32.3 kB / 384.5 MB, free: 38.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.2243, allocations: 202.2 kB / 384.7 MB, free: 38.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.2244, allocations: 98.38 kB / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.2244, allocations: 5.031 kB / 384.8 MB, free: 38.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.2245, allocations: 336.4 kB / 385.1 MB, free: 37.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2246, allocations: 72.75 kB / 385.2 MB, free: 37.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2248, allocations: 169.5 kB / 385.3 MB, free: 37.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.2257, allocations: 368.7 kB / 385.7 MB, free: 37.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2257, allocations: 4 kB / 385.7 MB, free: 37.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004154/0.2261, allocations: 287.3 kB / 386 MB, free: 37.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2261, allocations: 6.406 kB / 386 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2261, allocations: 0 / 386 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2262, allocations: 2.562 kB / 386 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.2265, allocations: 82.17 kB / 386.1 MB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2265, allocations: 1.438 kB / 386.1 MB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2266, allocations: 43.34 kB / 386.1 MB, free: 37.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.2267, allocations: 15.23 kB / 386.1 MB, free: 37.13 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: L2.iinternal:VARIABLE(unit = "A" fixed = true ) type: Real L3.iinternal:VARIABLE(unit = "A" fixed = true ) type: Real 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.0001939/0.2269, allocations: 148.2 kB / 386.3 MB, free: 36.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.2269, allocations: 24.38 kB / 386.3 MB, free: 36.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.227, allocations: 35.23 kB / 386.3 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.227, allocations: 3.469 kB / 386.3 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.227, allocations: 6.031 kB / 386.3 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.227, allocations: 0 / 386.3 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.2278, allocations: 0.7792 MB / 387.1 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2279, allocations: 0 / 387.1 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2281, allocations: 47.97 kB / 387.2 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.2283, allocations: 96.77 kB / 387.3 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2284, allocations: 4 kB / 387.3 MB, free: 36.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.2297, allocations: 1.831 MB / 389.1 MB, free: 34.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2297, allocations: 0 / 389.1 MB, free: 34.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.2303, allocations: 0.5093 MB / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.2303, allocations: 108.7 kB / 389.7 MB, free: 33.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.2303, allocations: 8.062 kB / 389.7 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2305, allocations: 11.98 kB / 389.7 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.2306, allocations: 23.97 kB / 389.8 MB, free: 33.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2306, allocations: 8 kB / 389.8 MB, free: 33.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.257e-05/0.2307, allocations: 156.4 kB / 389.9 MB, free: 33.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2307, allocations: 0 / 389.9 MB, free: 33.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.231, allocations: 107.5 kB / 390 MB, free: 33.13 MB / 298.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 9.182e-05/0.2311, allocations: 103.2 kB / 390.1 MB, free: 33.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.2314, allocations: 211.8 kB / 390.3 MB, free: 32.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2314, allocations: 4 kB / 390.3 MB, free: 32.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.2317, allocations: 282.4 kB / 390.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.232, allocations: 23.94 kB / 390.6 MB, free: 32.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/0.233, allocations: 1.082 MB / 391.7 MB, free: 31.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2332, allocations: 0.7869 MB / 392.5 MB, free: 30.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.2332, allocations: 27.42 kB / 392.5 MB, free: 30.54 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2332, allocations: 0 / 392.5 MB, free: 30.54 MB / 298.7 MB Notification: Performance of Templates: time 0.00412/0.2374, allocations: 3.915 MB / 396.4 MB, free: 26.62 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches