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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8813/0.8813, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.511e-05, allocations: 2.844 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00239/0.002405, allocations: 2.606 MB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.003326, allocations: 0.7321 MB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.003419, allocations: 8 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.765e-05/0.003506, allocations: 63.42 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.003657, allocations: 103 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.003958, allocations: 127.7 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.004263, allocations: 470.6 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.004471, allocations: 153.4 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.004743, allocations: 287.4 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.004884, allocations: 143.6 kB / 329.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.004924, allocations: 44 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.004998, allocations: 55.98 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.005046, allocations: 99.72 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.005135, allocations: 163.6 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.005469, allocations: 0.5101 MB / 330 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.00547, allocations: 0 / 330 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005471, allocations: 0 / 330 MB, free: 10.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005476, allocations: 0 / 330 MB, free: 10.35 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.0006512/0.006127, allocations: 0.6262 MB / 330.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.006163, allocations: 11.98 kB / 330.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.006222, allocations: 78.72 kB / 330.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.006363, allocations: 60.64 kB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.00657, allocations: 213.9 kB / 331 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.006594, allocations: 37.34 kB / 331 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.006641, allocations: 48.33 kB / 331.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.007128, allocations: 0.6091 MB / 331.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.007141, allocations: 4.188 kB / 331.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.007168, allocations: 28.06 kB / 331.7 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.007177, allocations: 12 kB / 331.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.007498, allocations: 279.9 kB / 332 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.008668, allocations: 1.159 MB / 333.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.008989, allocations: 210.7 kB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.00923, allocations: 176.8 kB / 333.6 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.009248, allocations: 7.938 kB / 333.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.009268, allocations: 38.56 kB / 333.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.009269, allocations: 0 / 333.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008149/0.01008, allocations: 479.1 kB / 334.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.01016, allocations: 239.3 kB / 334.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.01029, allocations: 214.7 kB / 334.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.01031, allocations: 33.7 kB / 334.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.0104, allocations: 204.6 kB / 334.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.01045, allocations: 107.1 kB / 334.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01051, allocations: 61.45 kB / 334.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.01059, allocations: 334.8 kB / 335.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.01069, allocations: 79.95 kB / 335.3 MB, free: 4.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.0109, allocations: 340.8 kB / 335.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.01112, allocations: 204.6 kB / 335.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01112, allocations: 0 / 335.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002766/0.0114, allocations: 277.2 kB / 336.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01141, allocations: 12 kB / 336.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01142, allocations: 4 kB / 336.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01143, allocations: 0 / 336.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.0116, allocations: 83.89 kB / 336.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01161, allocations: 0 / 336.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.01169, allocations: 27.84 kB / 336.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.0117, allocations: 15.98 kB / 336.3 MB, free: 3.684 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.805e-05/0.0118, allocations: 153.7 kB / 336.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.01183, allocations: 23.86 kB / 336.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.01187, allocations: 34.59 kB / 336.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01187, allocations: 7.984 kB / 336.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.01188, allocations: 0 / 336.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01188, allocations: 4 kB / 336.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.01254, allocations: 0.7039 MB / 337.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01254, allocations: 0 / 337.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.01267, allocations: 51.91 kB / 337.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.01288, allocations: 92.84 kB / 337.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01289, allocations: 7.984 kB / 337.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.01412, allocations: 1.854 MB / 339.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.01412, allocations: 4.031 kB / 339.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.01458, allocations: 0.498 MB / 339.7 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.0146, allocations: 27.86 kB / 339.7 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01462, allocations: 4 kB / 339.7 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.0147, allocations: 15.98 kB / 339.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.01476, allocations: 23.95 kB / 339.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/0.01477, allocations: 8.125 kB / 339.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.921e-05/0.01486, allocations: 148.6 kB / 339.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01486, allocations: 0 / 339.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.0151, allocations: 111.7 kB / 340 MB, free: 15.71 MB / 314.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 0.0006661/0.01576, allocations: 1.043 MB / 341.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01606, allocations: 195.8 kB / 341.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01606, allocations: 0 / 341.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.01634, allocations: 270.6 kB / 341.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.0166, allocations: 43.2 kB / 341.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.01877, allocations: 2.795 MB / 344.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.01889, allocations: 176.8 kB / 344.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.01895, allocations: 21.94 kB / 344.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01906, allocations: 108.5 kB / 344.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01906, allocations: 0 / 344.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.03924, allocations: 6.887 MB / 351.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.361, allocations: 19.53 kB / 351.6 MB, free: 4.129 MB / 314.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.071815554983914]