Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001521/0.001521, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 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.001669/0.001669, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 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 1.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 67.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1227, allocations: 53.32 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003569/0.1262, allocations: 2.072 MB / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1274, allocations: 0.6506 MB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.1275, allocations: 7.938 kB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.1276, allocations: 19.78 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1277, allocations: 47.56 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1281, allocations: 99.8 kB / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1284, allocations: 191.2 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1285, allocations: 37.53 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1288, allocations: 87.66 kB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1289, allocations: 83.66 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.1289, allocations: 12 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.129, allocations: 24 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.129, allocations: 39.84 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.1291, allocations: 71.66 kB / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1294, allocations: 183.2 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1294, allocations: 0 / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1294, allocations: 0 / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1294, allocations: 7.938 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008977/0.1303, allocations: 474.7 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1304, allocations: 8.031 kB / 430.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.1304, allocations: 46.73 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.1309, allocations: 56.8 kB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.1312, allocations: 220.1 kB / 431.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1313, allocations: 8.375 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1313, allocations: 8.375 kB / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.1316, allocations: 160.1 kB / 431.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1317, allocations: 0 / 431.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.1317, allocations: 8 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1317, allocations: 0 / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.132, allocations: 91.94 kB / 431.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.133, allocations: 0.5111 MB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.1333, allocations: 102.5 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1335, allocations: 64.83 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1335, allocations: 3.984 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1336, allocations: 34.5 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1336, allocations: 0 / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004851/0.1341, allocations: 145.7 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.1341, allocations: 106.8 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1343, allocations: 158.2 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1343, allocations: 25.7 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1344, allocations: 131.9 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1345, allocations: 31.69 kB / 432.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.1345, allocations: 25.7 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1347, allocations: 322.8 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1348, allocations: 47.91 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.135, allocations: 84.2 kB / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.1352, allocations: 98.47 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1352, allocations: 4.031 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003536/0.1356, allocations: 141.5 kB / 433.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1356, allocations: 4 kB / 433.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1356, allocations: 4 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1356, allocations: 0 / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.1362, allocations: 87.95 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.1379, allocations: 1.496 MB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.138, allocations: 27.84 kB / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1381, allocations: 8 kB / 435 MB, free: 12.22 MB / 366.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.1382, allocations: 122.8 kB / 435.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1382, allocations: 11.95 kB / 435.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.1387, allocations: 155.2 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1387, allocations: 11.94 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1387, allocations: 0 / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1387, allocations: 3.938 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.1395, allocations: 460 kB / 435.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1395, allocations: 3.984 kB / 435.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1396, allocations: 23.98 kB / 435.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.1399, allocations: 24.84 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1399, allocations: 3.984 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.1411, allocations: 1.398 MB / 437.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1411, allocations: 4.156 kB / 437.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.1417, allocations: 297.6 kB / 437.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.1418, allocations: 93.03 kB / 437.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1418, allocations: 3.938 kB / 437.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.142, allocations: 15.98 kB / 437.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.142, allocations: 11.98 kB / 437.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.142, allocations: 0 / 437.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1421, allocations: 127.2 kB / 437.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1421, allocations: 0 / 437.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1424, allocations: 39.95 kB / 437.8 MB, free: 9.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009922/0.1434, allocations: 0.835 MB / 438.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.1441, allocations: 139.9 kB / 438.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1441, allocations: 3.938 kB / 438.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.1445, allocations: 154.7 kB / 438.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.1447, allocations: 20.22 kB / 438.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.1481, allocations: 2.112 MB / 441 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1485, allocations: 0.7119 MB / 441.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.1486, allocations: 16.55 kB / 441.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.1486, allocations: 39.42 kB / 441.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1486, allocations: 0 / 441.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.1798, allocations: 3.395 MB / 445.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.94, allocations: 6.984 kB / 445.2 MB, free: 1.711 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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: 14.560837858822197]