Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 47.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.09853, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004076/0.1026, allocations: 2.851 MB / 420.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.104, allocations: 0.7127 MB / 421.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1041, allocations: 4 kB / 421.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1042, allocations: 67.36 kB / 421.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1044, allocations: 99.06 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1048, allocations: 123.8 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.1053, allocations: 442.8 kB / 422 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.1055, allocations: 168.9 kB / 422.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1058, allocations: 183.3 kB / 422.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.106, allocations: 207.1 kB / 422.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.1061, allocations: 52 kB / 422.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.1062, allocations: 44 kB / 422.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.1063, allocations: 95.73 kB / 422.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1065, allocations: 219 kB / 423 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.107, allocations: 0.4941 MB / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.107, allocations: 0 / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.107, allocations: 0 / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.1071, allocations: 0 / 423.5 MB, free: 6.875 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001184/0.1082, allocations: 0.6977 MB / 424.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1083, allocations: 8.031 kB / 424.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.1084, allocations: 86.64 kB / 424.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.1085, allocations: 44.66 kB / 424.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.1088, allocations: 281.2 kB / 424.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.1089, allocations: 33.38 kB / 424.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.1089, allocations: 48.38 kB / 424.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.1097, allocations: 447.4 kB / 425.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1097, allocations: 3.984 kB / 425.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1097, allocations: 20 kB / 425.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.1097, allocations: 16 kB / 425.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.1103, allocations: 287.8 kB / 425.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.1123, allocations: 1.303 MB / 426.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.1127, allocations: 214.7 kB / 426.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.1131, allocations: 193.8 kB / 427.1 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1131, allocations: 8 kB / 427.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1132, allocations: 42.56 kB / 427.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.1132, allocations: 0 / 427.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001426/0.1146, allocations: 0.5459 MB / 427.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.1147, allocations: 239.3 kB / 428 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1149, allocations: 207 kB / 428.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.115, allocations: 33.7 kB / 428.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1151, allocations: 204.6 kB / 428.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.1152, allocations: 103.1 kB / 428.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1153, allocations: 69.67 kB / 428.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1154, allocations: 330.8 kB / 428.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1156, allocations: 71.97 kB / 429 MB, free: 1.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1158, allocations: 168.6 kB / 429.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.1162, allocations: 195.4 kB / 429.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1162, allocations: 0 / 429.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004544/0.1166, allocations: 284.9 kB / 429.6 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1166, allocations: 10.19 kB / 429.6 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1166, allocations: 0 / 429.6 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1167, allocations: 0 / 429.6 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.117, allocations: 83.89 kB / 429.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.117, allocations: 11.88 kB / 429.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.1172, allocations: 27.78 kB / 429.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1172, allocations: 15.98 kB / 429.7 MB, free: 224 kB / 350.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.0001519/0.1173, allocations: 149.8 kB / 429.9 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.1174, allocations: 27.8 kB / 429.9 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.1175, allocations: 34.64 kB / 429.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.1175, allocations: 4.047 kB / 430 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1175, allocations: 4 kB / 430 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1175, allocations: 0 / 430 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.1186, allocations: 0.7633 MB / 430.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1186, allocations: 0 / 430.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1188, allocations: 47.97 kB / 430.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.1192, allocations: 84.81 kB / 430.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1192, allocations: 11.92 kB / 430.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.1213, allocations: 1.977 MB / 432.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1213, allocations: 8 kB / 432.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.1221, allocations: 0.4936 MB / 433.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.1222, allocations: 104.8 kB / 433.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.1222, allocations: 12.05 kB / 433.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.1224, allocations: 8 kB / 433.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.1225, allocations: 27.97 kB / 433.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1225, allocations: 7.938 kB / 433.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1226, allocations: 160.4 kB / 433.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1226, allocations: 0 / 433.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.123, allocations: 111.7 kB / 433.8 MB, free: 11.94 MB / 366.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.001124/0.1241, allocations: 1.051 MB / 434.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1245, allocations: 199.8 kB / 435 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1245, allocations: 0 / 435 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.125, allocations: 262.7 kB / 435.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1254, allocations: 31.98 kB / 435.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.129, allocations: 2.894 MB / 438.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1294, allocations: 0.787 MB / 439 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.241e-05/0.1295, allocations: 21.95 kB / 439 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1297, allocations: 107.4 kB / 439.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1297, allocations: 0 / 439.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.1648, allocations: 6.03 MB / 445.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.41, allocations: 11.81 kB / 445.1 MB, free: 0.5078 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.047922529745847]