Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001512/0.001512, allocations: 128.4 kB / 17.79 MB, free: 5.242 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.001677/0.001677, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.541/1.541, allocations: 230.4 MB / 254 MB, free: 15.05 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1136, allocations: 53.37 MB / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005007/0.1186, allocations: 3.324 MB / 429.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.222/0.3406, allocations: 1.415 MB / 431.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.3411, allocations: 11.06 kB / 431.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.3419, allocations: 140.3 kB / 431.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.3437, allocations: 437.3 kB / 431.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.3443, allocations: 182.7 kB / 431.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.3454, allocations: 466.9 kB / 432.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.3456, allocations: 109.7 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.3461, allocations: 174.8 kB / 432.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.3464, allocations: 206.8 kB / 432.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.3465, allocations: 34.06 kB / 432.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.3469, allocations: 173 kB / 433 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3469, allocations: 82.3 kB / 433.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.3471, allocations: 197.8 kB / 433.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.3478, allocations: 0.5474 MB / 433.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3478, allocations: 0.9375 kB / 433.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3478, allocations: 1.281 kB / 433.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3478, allocations: 0 / 433.8 MB, free: 7.254 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.001418/0.3492, allocations: 0.7591 MB / 434.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3493, allocations: 14.03 kB / 434.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.385e-05/0.3494, allocations: 70.44 kB / 434.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007657/0.3501, allocations: 113.6 kB / 434.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.3506, allocations: 317.5 kB / 435.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.3506, allocations: 28.84 kB / 435.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.3507, allocations: 35.22 kB / 435.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.3513, allocations: 357.4 kB / 435.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3513, allocations: 0 / 435.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.3513, allocations: 14.42 kB / 435.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3514, allocations: 8.781 kB / 435.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.3519, allocations: 252.6 kB / 435.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.354, allocations: 1.313 MB / 437.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.3544, allocations: 187.8 kB / 437.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3546, allocations: 76.25 kB / 437.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/0.3555, allocations: 1.21 MB / 438.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3555, allocations: 33.56 kB / 438.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3555, allocations: 0 / 438.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000584/0.3561, allocations: 219.1 kB / 438.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3561, allocations: 88.73 kB / 438.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.3565, allocations: 292.2 kB / 439.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3565, allocations: 27.41 kB / 439.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3566, allocations: 244.3 kB / 439.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3567, allocations: 64.27 kB / 439.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3568, allocations: 66.8 kB / 439.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.3569, allocations: 337.1 kB / 439.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.357, allocations: 70.48 kB / 439.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3572, allocations: 201.2 kB / 440.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.3576, allocations: 282.1 kB / 440.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3576, allocations: 2.156 kB / 440.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005609/0.3582, allocations: 317.5 kB / 440.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3582, allocations: 7.781 kB / 440.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3582, allocations: 6.344 kB / 440.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3582, allocations: 11.23 kB / 440.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.3585, allocations: 84.03 kB / 440.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.3586, allocations: 11.48 kB / 440.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3587, allocations: 39.27 kB / 440.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3588, allocations: 12.8 kB / 440.9 MB, free: 2.699 MB / 350.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.0001161/0.3589, allocations: 156.5 kB / 441 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.359, allocations: 29.31 kB / 441.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.359, allocations: 33.16 kB / 441.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.359, allocations: 5.406 kB / 441.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.359, allocations: 2.312 kB / 441.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.359, allocations: 5.719 kB / 441.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.3597, allocations: 0.5138 MB / 441.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3597, allocations: 1.156 kB / 441.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.3599, allocations: 52.69 kB / 441.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3599, allocations: 2.25 kB / 441.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3599, allocations: 6.438 kB / 441.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3599, allocations: 2.094 kB / 441.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3599, allocations: 1.062 kB / 441.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.3604, allocations: 424.3 kB / 442.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.3605, allocations: 114.3 kB / 442.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.3605, allocations: 1.812 kB / 442.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3608, allocations: 19.22 kB / 442.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.3608, allocations: 10.33 kB / 442.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3608, allocations: 5 kB / 442.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.361, allocations: 201.2 kB / 442.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.361, allocations: 4.062 kB / 442.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.3615, allocations: 78.8 kB / 442.5 MB, free: 1.539 MB / 350.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.0008126/0.3623, allocations: 0.9665 MB / 443.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004332/0.3627, allocations: 190.2 kB / 443.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3627, allocations: 1.656 kB / 443.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3629, allocations: 62.27 kB / 443.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.3633, allocations: 29.78 kB / 443.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.368, allocations: 3.127 MB / 446.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3684, allocations: 0.7776 MB / 447.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.3686, allocations: 35.33 kB / 447.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.3687, allocations: 105.3 kB / 447.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3687, allocations: 0 / 447.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.4011, allocations: 5.611 MB / 453.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.734, allocations: 11.97 kB / 453.4 MB, free: 12.8 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.636545313987881]