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.001258/0.001258, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001318/0.001318, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.452/1.452, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.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 0.001792/0.001792, allocations: 67.88 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004204/0.1079, allocations: 2.854 MB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1093, allocations: 0.7672 MB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1095, allocations: 8 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1096, allocations: 63.42 kB / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1098, allocations: 95.05 kB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.1102, allocations: 131.7 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.1107, allocations: 442.8 kB / 431 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.111, allocations: 168.9 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1113, allocations: 187.4 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1116, allocations: 199.2 kB / 431.5 MB, free: 88 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.1116, allocations: 44 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1118, allocations: 60.03 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.1119, allocations: 99.62 kB / 431.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.1121, allocations: 215.1 kB / 432 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.1126, allocations: 0.5096 MB / 432.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1126, allocations: 0 / 432.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1126, allocations: 0 / 432.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1126, allocations: 4 kB / 432.5 MB, free: 15.16 MB / 366.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.001159/0.1138, allocations: 0.6899 MB / 433.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1138, allocations: 12.03 kB / 433.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.114, allocations: 82.7 kB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.1142, allocations: 56.66 kB / 433.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1145, allocations: 284.4 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.1146, allocations: 29.38 kB / 433.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.1147, allocations: 52.31 kB / 433.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.1154, allocations: 459.4 kB / 434.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1154, allocations: 0 / 434.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.1155, allocations: 16 kB / 434.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1155, allocations: 8 kB / 434.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.116, allocations: 287.9 kB / 434.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.118, allocations: 1.299 MB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.1185, allocations: 220.2 kB / 435.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.1189, allocations: 184.7 kB / 436.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1189, allocations: 0.5 kB / 436.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.1189, allocations: 38.56 kB / 436.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.1189, allocations: 0 / 436.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001399/0.1203, allocations: 0.5497 MB / 436.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.1205, allocations: 235.3 kB / 436.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1207, allocations: 210.8 kB / 437.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.1207, allocations: 29.7 kB / 437.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1209, allocations: 212.6 kB / 437.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.121, allocations: 107.1 kB / 437.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1211, allocations: 61.69 kB / 437.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1212, allocations: 334.8 kB / 437.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1214, allocations: 83.95 kB / 437.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.1216, allocations: 156.5 kB / 438.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.1219, allocations: 195.3 kB / 438.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1219, allocations: 0 / 438.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004791/0.1224, allocations: 281.1 kB / 438.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1224, allocations: 4 kB / 438.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1224, allocations: 0 / 438.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1225, allocations: 4 kB / 438.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.1228, allocations: 83.89 kB / 438.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1228, allocations: 0 / 438.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.123, allocations: 31.73 kB / 438.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.123, allocations: 12 kB / 438.7 MB, free: 8.531 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 (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.0001816/0.1232, allocations: 153.8 kB / 438.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1233, allocations: 35.8 kB / 438.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.1233, allocations: 30.59 kB / 438.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1233, allocations: 4 kB / 438.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1233, allocations: 0 / 438.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1233, allocations: 3.984 kB / 438.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1245, allocations: 0.7595 MB / 439.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1245, allocations: 0 / 439.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1247, allocations: 52 kB / 439.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.1251, allocations: 92.73 kB / 439.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1251, allocations: 8 kB / 439.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.1273, allocations: 1.977 MB / 441.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1273, allocations: 0 / 441.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.1281, allocations: 0.4976 MB / 442.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.1282, allocations: 100.9 kB / 442.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1283, allocations: 12.06 kB / 442.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1284, allocations: 11.98 kB / 442.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.1285, allocations: 35.84 kB / 442.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1285, allocations: 11.94 kB / 442.5 MB, free: 4.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1286, allocations: 144.6 kB / 442.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1286, allocations: 0 / 442.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.129, allocations: 111.7 kB / 442.7 MB, free: 4.25 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.00113/0.1302, allocations: 1.036 MB / 443.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.1306, allocations: 200.3 kB / 444 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1306, allocations: 0 / 444 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.131, allocations: 278.6 kB / 444.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1314, allocations: 34.08 kB / 444.3 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.187/0.3184, allocations: 2.897 MB / 447.2 MB, free: 23.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3187, allocations: 0.7828 MB / 447.9 MB, free: 23.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.3188, allocations: 26.22 kB / 448 MB, free: 23.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.319, allocations: 102.7 kB / 448.1 MB, free: 23.07 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.319, allocations: 0 / 448.1 MB, free: 23.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.3528, allocations: 6.021 MB / 454.1 MB, free: 22.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.75, allocations: 8.359 kB / 454.1 MB, free: 22.53 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.352119321003556]