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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001186, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08296, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003817/0.08681, allocations: 2.845 MB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.08818, allocations: 0.7595 MB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.08838, allocations: 8 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.08855, allocations: 63.41 kB / 361.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.08882, allocations: 99.06 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.0892, allocations: 131.7 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.08959, allocations: 442.8 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.08991, allocations: 224.9 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.09016, allocations: 183.4 kB / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.09039, allocations: 203.1 kB / 362.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.09046, allocations: 44 kB / 362.5 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.09057, allocations: 56 kB / 362.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.09066, allocations: 103.7 kB / 362.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.09085, allocations: 219 kB / 362.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.09128, allocations: 0.5024 MB / 363.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.0913, allocations: 0 / 363.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09131, allocations: 7.938 kB / 363.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.09132, allocations: 0 / 363.4 MB, free: 8.117 MB / 302.1 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.000998/0.09232, allocations: 0.6786 MB / 364.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.09236, allocations: 12.03 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.09246, allocations: 82.7 kB / 364.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.09269, allocations: 56.45 kB / 364.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.09297, allocations: 278 kB / 364.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.093, allocations: 33.38 kB / 364.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.09308, allocations: 44.28 kB / 364.6 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/0.09372, allocations: 467.4 kB / 365 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.09375, allocations: 0 / 365 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.09379, allocations: 16 kB / 365.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.09381, allocations: 12 kB / 365.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.09431, allocations: 279.9 kB / 365.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.09606, allocations: 1.307 MB / 366.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.09648, allocations: 238.7 kB / 366.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.09685, allocations: 193.9 kB / 367.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.09689, allocations: 11.92 kB / 367.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.09692, allocations: 42.55 kB / 367.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.09693, allocations: 0 / 367.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001359/0.09829, allocations: 0.554 MB / 367.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.09841, allocations: 235.3 kB / 367.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.09859, allocations: 206.8 kB / 368.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.09862, allocations: 33.7 kB / 368.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.09875, allocations: 204.2 kB / 368.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.09882, allocations: 98.47 kB / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.09892, allocations: 65.69 kB / 368.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.09903, allocations: 330.8 kB / 368.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.09919, allocations: 75.72 kB / 368.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.0994, allocations: 156.5 kB / 369.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.09974, allocations: 207.1 kB / 369.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.09975, allocations: 0 / 369.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004397/0.1002, allocations: 273.2 kB / 369.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1002, allocations: 8 kB / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1002, allocations: 0 / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1002, allocations: 0 / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.1006, allocations: 83.89 kB / 369.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1006, allocations: 4 kB / 369.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1008, allocations: 31.67 kB / 369.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1008, allocations: 15.94 kB / 369.7 MB, free: 1.461 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1009, allocations: 149.7 kB / 369.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.101, allocations: 31.66 kB / 369.8 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1011, allocations: 34.64 kB / 369.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1011, allocations: 4 kB / 369.9 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1011, allocations: 4 kB / 369.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1011, allocations: 0 / 369.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1021, allocations: 0.7789 MB / 370.7 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1021, allocations: 3.938 kB / 370.7 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.1024, allocations: 56 kB / 370.7 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.1027, allocations: 84.8 kB / 370.8 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1027, allocations: 8 kB / 370.8 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1357/0.2384, allocations: 1.972 MB / 372.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2385, allocations: 2.297 kB / 372.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.2392, allocations: 0.4963 MB / 373.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.2393, allocations: 102.5 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.2393, allocations: 20.69 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.2395, allocations: 9.938 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.2396, allocations: 19.64 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2396, allocations: 10.3 kB / 373.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.2397, allocations: 151.4 kB / 373.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2397, allocations: 0.625 kB / 373.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004023/0.2401, allocations: 103.1 kB / 373.7 MB, free: 18.38 MB / 302.1 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 0.0009112/0.2411, allocations: 1.047 MB / 374.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.2415, allocations: 221.4 kB / 375 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2415, allocations: 0 / 375 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.2419, allocations: 280.7 kB / 375.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.2424, allocations: 33.16 kB / 375.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.2453, allocations: 2.893 MB / 378.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2455, allocations: 0.7843 MB / 378.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.861e-05/0.2456, allocations: 28.55 kB / 379 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2457, allocations: 98.55 kB / 379.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2457, allocations: 0 / 379.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.2694, allocations: 5.844 MB / 384.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.095, allocations: 1.094 kB / 384.9 MB, free: 13.86 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches