Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009803/0.0009804, allocations: 187 kB / 17.92 MB, free: 3.855 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.154/1.154, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0009253/0.0009253, allocations: 94.48 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008232/0.0008232, allocations: 35.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1914, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003252/0.1947, allocations: 2.814 MB / 376.6 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1958, allocations: 0.748 MB / 377.4 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1961, allocations: 5.938 kB / 377.4 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.1963, allocations: 42.55 kB / 377.4 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1965, allocations: 77.77 kB / 377.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1968, allocations: 101.7 kB / 377.6 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1973, allocations: 421 kB / 378 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.1975, allocations: 192.7 kB / 378.2 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1978, allocations: 166 kB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.198, allocations: 194.4 kB / 378.5 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.1981, allocations: 33.25 kB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.1982, allocations: 35.25 kB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.1982, allocations: 95.38 kB / 378.7 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1984, allocations: 203.7 kB / 378.9 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.1987, allocations: 482.2 kB / 379.4 MB, free: 41.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1987, allocations: 3.938 kB / 379.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1987, allocations: 0.9062 kB / 379.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1988, allocations: 0 / 379.4 MB, free: 41.57 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.0009962/0.1998, allocations: 0.6853 MB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1998, allocations: 9.219 kB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.1999, allocations: 47.44 kB / 380.1 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.2002, allocations: 272.7 kB / 380.4 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2002, allocations: 29.91 kB / 380.4 MB, free: 40.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.2003, allocations: 43.28 kB / 380.5 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.2008, allocations: 462.4 kB / 380.9 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2009, allocations: 0 / 380.9 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.2009, allocations: 15.78 kB / 380.9 MB, free: 40.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2009, allocations: 11.03 kB / 380.9 MB, free: 40.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.2014, allocations: 285.3 kB / 381.2 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.2029, allocations: 1.31 MB / 382.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.2033, allocations: 257.3 kB / 382.8 MB, free: 38.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.2036, allocations: 188.7 kB / 383 MB, free: 38.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2036, allocations: 7.469 kB / 383 MB, free: 38.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.2037, allocations: 36.91 kB / 383 MB, free: 38.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.2037, allocations: 0 / 383 MB, free: 38.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001268/0.2049, allocations: 0.5433 MB / 383.6 MB, free: 38.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.205, allocations: 235.7 kB / 383.8 MB, free: 38.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2052, allocations: 208.6 kB / 384 MB, free: 38.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2052, allocations: 32.27 kB / 384 MB, free: 38.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.2053, allocations: 203.4 kB / 384.2 MB, free: 37.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.2053, allocations: 106.5 kB / 384.3 MB, free: 37.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.2054, allocations: 60.95 kB / 384.4 MB, free: 37.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.2055, allocations: 331.7 kB / 384.7 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2056, allocations: 73.78 kB / 384.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2058, allocations: 167.3 kB / 384.9 MB, free: 37.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.2065, allocations: 367.4 kB / 385.3 MB, free: 37.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2065, allocations: 0 / 385.3 MB, free: 37.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000404/0.207, allocations: 278.2 kB / 385.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.207, allocations: 4.812 kB / 385.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.207, allocations: 1.094 kB / 385.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.207, allocations: 2.281 kB / 385.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.2073, allocations: 82.02 kB / 385.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2073, allocations: 2.406 kB / 385.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2075, allocations: 33.73 kB / 385.7 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.2075, allocations: 14.97 kB / 385.7 MB, free: 36.83 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.2078, allocations: 160.5 kB / 385.9 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.2078, allocations: 29 kB / 385.9 MB, free: 36.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.2079, allocations: 35.05 kB / 385.9 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2079, allocations: 2.719 kB / 385.9 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.2079, allocations: 1.969 kB / 385.9 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2079, allocations: 0 / 385.9 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/0.2089, allocations: 0.7798 MB / 386.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2089, allocations: 1 kB / 386.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2091, allocations: 50.19 kB / 386.8 MB, free: 36.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.2094, allocations: 87.52 kB / 386.8 MB, free: 35.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2094, allocations: 6.906 kB / 386.9 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2107, allocations: 1.836 MB / 388.7 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2107, allocations: 4.062 kB / 388.7 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.2151, allocations: 4.858 MB / 393.6 MB, free: 28.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.2151, allocations: 105 kB / 393.7 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2151, allocations: 8 kB / 393.7 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2153, allocations: 12 kB / 393.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.2154, allocations: 23.95 kB / 393.7 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2154, allocations: 11.94 kB / 393.7 MB, free: 28.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.107e-05/0.2155, allocations: 144.6 kB / 393.8 MB, free: 28.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2155, allocations: 0 / 393.8 MB, free: 28.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.2159, allocations: 147.6 kB / 394 MB, free: 28.41 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.054e-05/0.216, allocations: 107.2 kB / 394.1 MB, free: 28.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.2163, allocations: 212.1 kB / 394.3 MB, free: 28.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2163, allocations: 4 kB / 394.3 MB, free: 28.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.2167, allocations: 278.7 kB / 394.6 MB, free: 27.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.2169, allocations: 24.19 kB / 394.6 MB, free: 27.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2182, allocations: 1.395 MB / 396 MB, free: 26.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2183, allocations: 0.799 MB / 396.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.2184, allocations: 21.95 kB / 396.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.2185, allocations: 27.42 kB / 396.8 MB, free: 25.45 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2185, allocations: 0 / 396.8 MB, free: 25.45 MB / 298.7 MB Notification: Performance of Templates: time 0.005664/0.2242, allocations: 3.898 MB / 400.7 MB, free: 21.56 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches