Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001597/0.001597, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.001571/0.001571, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.453/1.453, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.91 kB / 365.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.1, allocations: 52.15 MB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004872/0.1049, allocations: 3.305 MB / 421.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1073, allocations: 1.296 MB / 422.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.1076, allocations: 8 kB / 422.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.1081, allocations: 151.1 kB / 422.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.1092, allocations: 465.4 kB / 423 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1096, allocations: 167.6 kB / 423.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.1103, allocations: 446.1 kB / 423.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.1105, allocations: 108.2 kB / 423.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.1108, allocations: 167.4 kB / 423.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.1111, allocations: 199.1 kB / 424.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.1112, allocations: 36 kB / 424.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.1115, allocations: 159.9 kB / 424.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.1116, allocations: 87.62 kB / 424.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1118, allocations: 191 kB / 424.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.1127, allocations: 0.5408 MB / 425.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1127, allocations: 0 / 425.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1127, allocations: 4 kB / 425.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1127, allocations: 0 / 425.1 MB, free: 5.398 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001621/0.1143, allocations: 0.7481 MB / 425.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1144, allocations: 8.031 kB / 425.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.254e-05/0.1144, allocations: 74.66 kB / 425.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005999/0.115, allocations: 100.6 kB / 426 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.1156, allocations: 316.5 kB / 426.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.1156, allocations: 21.38 kB / 426.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.1157, allocations: 36.38 kB / 426.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.1163, allocations: 357.5 kB / 426.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1163, allocations: 0 / 426.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1163, allocations: 16 kB / 426.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1163, allocations: 11.98 kB / 426.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1168, allocations: 246.1 kB / 427 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.119, allocations: 1.308 MB / 428.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.1194, allocations: 189.2 kB / 428.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1195, allocations: 75.8 kB / 428.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.1205, allocations: 0.8791 MB / 429.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1205, allocations: 34.56 kB / 429.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.1205, allocations: 0 / 429.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005875/0.1211, allocations: 229.3 kB / 429.7 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1211, allocations: 81.11 kB / 429.8 MB, free: 336 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.1214, allocations: 287 kB / 430 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.1215, allocations: 29.7 kB / 430.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1217, allocations: 240.1 kB / 430.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.1217, allocations: 71.41 kB / 430.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.1218, allocations: 57.98 kB / 430.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.1221, allocations: 338.8 kB / 430.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1223, allocations: 72.61 kB / 430.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1225, allocations: 202.3 kB / 431 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.123, allocations: 288.8 kB / 431.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.123, allocations: 0 / 431.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005779/0.1235, allocations: 316.8 kB / 431.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1236, allocations: 8 kB / 431.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1236, allocations: 4.562 kB / 431.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1236, allocations: 11.94 kB / 431.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1239, allocations: 83.89 kB / 431.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1239, allocations: 7.938 kB / 431.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1241, allocations: 43.72 kB / 431.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.1241, allocations: 16 kB / 431.8 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001607/0.1243, allocations: 153.7 kB / 431.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.1244, allocations: 27.81 kB / 432 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.1244, allocations: 33.73 kB / 432 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1244, allocations: 7.938 kB / 432 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1244, allocations: 3.938 kB / 432 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1244, allocations: 3.984 kB / 432 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.1252, allocations: 0.507 MB / 432.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1252, allocations: 4.25 kB / 432.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.1254, allocations: 39.92 kB / 432.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1254, allocations: 8.031 kB / 432.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1254, allocations: 11.98 kB / 432.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1254, allocations: 4 kB / 432.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1254, allocations: 80 / 432.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.126, allocations: 421.4 kB / 433 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.1261, allocations: 104.9 kB / 433.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1261, allocations: 4 kB / 433.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1263, allocations: 15.98 kB / 433.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.1264, allocations: 7.984 kB / 433.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1264, allocations: 15.98 kB / 433.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.1266, allocations: 197.9 kB / 433.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1266, allocations: 0 / 433.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.127, allocations: 87.84 kB / 433.4 MB, free: 12.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009434/0.1279, allocations: 0.9803 MB / 434.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.1284, allocations: 180.6 kB / 434.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1284, allocations: 0 / 434.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1285, allocations: 59.91 kB / 434.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1289, allocations: 33.53 kB / 434.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.133, allocations: 3.121 MB / 437.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1335, allocations: 0.7714 MB / 438.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1336, allocations: 34.97 kB / 438.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.1337, allocations: 107.4 kB / 438.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1337, allocations: 0 / 438.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.1622, allocations: 5.536 MB / 444.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.512, allocations: 18.05 kB / 444.3 MB, free: 1.453 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 11.509204112924635]