Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001563/0.001563, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001713/0.001713, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.416/1.416, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 51.92 kB / 371.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2737, allocations: 52.19 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01851/0.2922, allocations: 16.71 MB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.303, allocations: 4.657 MB / 444.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.3063, allocations: 159.2 kB / 445 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01626/0.3225, allocations: 7.25 MB / 452.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.3304, allocations: 2.064 MB / 454.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005395/0.3357, allocations: 1.562 MB / 455.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0152/0.3509, allocations: 9.536 MB / 465.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02855/0.3795, allocations: 13.59 MB / 479 MB, free: 6.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009132/0.3886, allocations: 5.382 MB / 484.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.3992, allocations: 5.946 MB / 490.3 MB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003454/0.4026, allocations: 1.359 MB / 491.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.4078, allocations: 1.648 MB / 493.3 MB, free: 8.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004986/0.4128, allocations: 2.798 MB / 496.1 MB, free: 5.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01226/0.4251, allocations: 5.358 MB / 0.4897 GB, free: 228 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02616/0.4512, allocations: 18.4 MB / 0.5077 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.4513, allocations: 0 / 0.5077 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4513, allocations: 0 / 0.5077 GB, free: 13.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005197/0.4518, allocations: 4 kB / 0.5077 GB, free: 13.76 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04177/0.4936, allocations: 12.24 MB / 0.5196 GB, free: 1.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.551e-05/0.4936, allocations: 8.031 kB / 0.5196 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004662/0.4941, allocations: 278 kB / 0.5199 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007519/0.5016, allocations: 1.524 MB / 0.5214 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03667/0.5383, allocations: 6.28 MB / 0.5275 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/0.5535, allocations: 5.913 MB / 0.5333 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007548/0.5543, allocations: 0.6704 MB / 0.5339 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004176/0.5584, allocations: 0.8827 MB / 0.5348 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4575/1.016, allocations: 14.72 MB / 0.5492 GB, free: 89.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/1.016, allocations: 8.672 kB / 0.5492 GB, free: 89.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/1.017, allocations: 379 kB / 0.5495 GB, free: 88.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003505/1.018, allocations: 494.8 kB / 0.55 GB, free: 88.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/1.04, allocations: 13.54 MB / 0.5632 GB, free: 80.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/1.101, allocations: 43.26 MB / 0.6055 GB, free: 36.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/1.109, allocations: 5.94 MB / 0.6113 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/1.112, allocations: 2.879 MB / 0.6141 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/1.113, allocations: 96.98 kB / 0.6142 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.113, allocations: 85.88 kB / 0.6143 GB, free: 28.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=413): time 6.041e-06/1.113, allocations: 0 / 0.6143 GB, free: 28.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=492): time 0.04171/1.155, allocations: 24.3 MB / 0.638 GB, free: 4.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.155, allocations: 137.2 kB / 0.6381 GB, free: 4.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/1.158, allocations: 3.163 MB / 0.6412 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006879/1.159, allocations: 105.7 kB / 0.6413 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002608/1.161, allocations: 3.833 MB / 0.6451 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002232/1.163, allocations: 1.746 MB / 0.6468 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/1.166, allocations: 1.232 MB / 0.648 GB, free: 10.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/1.166, allocations: 301.1 kB / 0.6483 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005108/1.171, allocations: 3.268 MB / 0.6515 GB, free: 6.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007304/1.178, allocations: 5.368 MB / 0.6567 GB, free: 184 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.191, allocations: 9.262 MB / 0.6657 GB, free: 5.949 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.406e-05/1.191, allocations: 20 kB / 0.6658 GB, free: 5.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02217/1.213, allocations: 10.96 MB / 0.6765 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/1.213, allocations: 36 kB / 0.6765 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/1.214, allocations: 68.03 kB / 0.6766 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006112/1.22, allocations: 2.197 MB / 0.6787 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/1.225, allocations: 1.318 MB / 0.68 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03124/1.256, allocations: 21.51 MB / 0.701 GB, free: 1.309 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/1.26, allocations: 387.5 kB / 0.7014 GB, free: 0.9297 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008118/1.261, allocations: 292 kB / 0.7016 GB, free: 0.6445 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,24,86.1%), (6,24,100.0%), (5,33,80.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005644/1.267, allocations: 3.521 MB / 0.7051 GB, free: 13.11 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008618/1.267, allocations: 397.5 kB / 0.7055 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.284, allocations: 8.864 MB / 0.7141 GB, free: 3.781 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01332/1.297, allocations: 7.557 MB / 0.7215 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-05/1.297, allocations: 27.94 kB / 0.7215 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-05/1.297, allocations: 27.91 kB / 0.7215 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03216/1.329, allocations: 18.48 MB / 0.7396 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.329, allocations: 19.94 kB / 0.7396 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/1.333, allocations: 0.8308 MB / 0.7404 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/1.339, allocations: 2.005 MB / 0.7424 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004989/1.339, allocations: 128 kB / 0.7425 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2153/1.554, allocations: 19.5 MB / 0.7615 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/1.554, allocations: 25.53 kB / 0.7616 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.571, allocations: 13.33 MB / 0.7746 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.574, allocations: 1.019 MB / 0.7756 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005662/1.575, allocations: 114.8 kB / 0.7757 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.577, allocations: 291.6 kB / 0.776 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/1.578, allocations: 442.2 kB / 0.7764 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/1.578, allocations: 166.1 kB / 0.7766 GB, free: 172.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00229/1.58, allocations: 2.119 MB / 0.7786 GB, free: 171.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.58, allocations: 0 / 0.7786 GB, free: 171.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005232/1.586, allocations: 1.78 MB / 0.7804 GB, free: 171.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (444): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,24,91.7%), (6,18,94.4%), (5,33,80.0%), (5,27,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01603/1.602, allocations: 14.1 MB / 0.7941 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.614, allocations: 8.956 MB / 0.8029 GB, free: 155.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/1.614, allocations: 4 kB / 0.8029 GB, free: 155.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007057/1.621, allocations: 4.643 MB / 0.8074 GB, free: 150.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/1.626, allocations: 0.8264 MB / 0.8082 GB, free: 149.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07365/1.699, allocations: 58.08 MB / 0.8649 GB, free: 88.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004995/1.704, allocations: 6.127 MB / 0.8709 GB, free: 82.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004664/1.709, allocations: 2.211 MB / 0.8731 GB, free: 80.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004447/1.713, allocations: 3.096 MB / 0.8761 GB, free: 77.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.244e-06/1.713, allocations: 0 / 0.8761 GB, free: 77.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/2.084, allocations: 136.3 MB / 1.009 GB, free: 145.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.76/22.85, allocations: 7 kB / 1.009 GB, free: 145.7 MB / 0.545 GB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 28.79230320698116]