Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007786/0.0007786, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8747/0.8747, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.088e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002628/0.002649, allocations: 2.596 MB / 327.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003714, allocations: 0.736 MB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.003825, allocations: 4 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.003919, allocations: 71.28 kB / 328 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.00409, allocations: 107 kB / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.004429, allocations: 127.7 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.004762, allocations: 458.6 kB / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.004995, allocations: 157.4 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.005297, allocations: 287.4 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.005446, allocations: 135.6 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.005492, allocations: 48 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.00557, allocations: 56 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.005622, allocations: 107.6 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.005718, allocations: 151.7 kB / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.006087, allocations: 0.5179 MB / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.00609, allocations: 0 / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006092, allocations: 0 / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.006098, allocations: 0 / 330.1 MB, free: 10.38 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.0006802/0.006778, allocations: 0.6216 MB / 330.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.006816, allocations: 12.03 kB / 330.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.006875, allocations: 82.72 kB / 330.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.007026, allocations: 60.64 kB / 330.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.007257, allocations: 217.9 kB / 331.1 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.007278, allocations: 29.38 kB / 331.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.007327, allocations: 48.33 kB / 331.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.007844, allocations: 0.6247 MB / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.007857, allocations: 192 / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.007884, allocations: 24.12 kB / 331.8 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.007891, allocations: 8 kB / 331.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.008216, allocations: 275.9 kB / 332.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.009407, allocations: 1.163 MB / 333.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.00971, allocations: 222.6 kB / 333.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.009936, allocations: 172.8 kB / 333.6 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.009953, allocations: 4 kB / 333.6 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.009972, allocations: 38.5 kB / 333.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.009974, allocations: 0 / 333.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008089/0.01078, allocations: 478.4 kB / 334.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.01087, allocations: 235.3 kB / 334.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.011, allocations: 218.7 kB / 334.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.01102, allocations: 33.7 kB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.01111, allocations: 196.7 kB / 334.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.01117, allocations: 115.1 kB / 334.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.01124, allocations: 65.44 kB / 335 MB, free: 5.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.01132, allocations: 338.8 kB / 335.3 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.01142, allocations: 71.97 kB / 335.4 MB, free: 4.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.0116, allocations: 341.4 kB / 335.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.01181, allocations: 200.7 kB / 335.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01181, allocations: 0 / 335.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000283/0.0121, allocations: 277.2 kB / 336.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01211, allocations: 11.94 kB / 336.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01212, allocations: 0 / 336.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01213, allocations: 4 kB / 336.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.0123, allocations: 75.89 kB / 336.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01231, allocations: 4 kB / 336.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.01239, allocations: 31.83 kB / 336.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.0124, allocations: 8 kB / 336.3 MB, free: 3.73 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 0.0001014/0.0125, allocations: 153.7 kB / 336.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.01253, allocations: 31.86 kB / 336.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.01257, allocations: 42.58 kB / 336.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01257, allocations: 3.938 kB / 336.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.01258, allocations: 7.984 kB / 336.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01259, allocations: 0 / 336.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.01325, allocations: 0.701 MB / 337.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01325, allocations: 0 / 337.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.01338, allocations: 47.97 kB / 337.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.01358, allocations: 92.83 kB / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01359, allocations: 12 kB / 337.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.01481, allocations: 1.858 MB / 339.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01481, allocations: 4.062 kB / 339.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.01528, allocations: 0.4944 MB / 339.7 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.0153, allocations: 27.78 kB / 339.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.01532, allocations: 8.062 kB / 339.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.0154, allocations: 8 kB / 339.8 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.01545, allocations: 31.94 kB / 339.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01546, allocations: 8 kB / 339.8 MB, free: 4 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.544e-05/0.01556, allocations: 156.6 kB / 340 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01556, allocations: 0 / 340 MB, free: 15.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.0158, allocations: 115.7 kB / 340.1 MB, free: 15.73 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.0006639/0.01646, allocations: 1.028 MB / 341.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.01676, allocations: 203.7 kB / 341.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01676, allocations: 0 / 341.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.01705, allocations: 270.7 kB / 341.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.01733, allocations: 37.47 kB / 341.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.01945, allocations: 2.792 MB / 344.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.01956, allocations: 184.8 kB / 344.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.01963, allocations: 21.94 kB / 344.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.01973, allocations: 104.5 kB / 344.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01973, allocations: 4 kB / 344.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.04438, allocations: 6.888 MB / 351.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.081, allocations: 6.641 kB / 351.6 MB, free: 4.199 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.748728446662426]