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.001171/0.001171, allocations: 76.08 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.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.0007872/0.0007872, allocations: 149.4 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.8996/0.8996, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.182e-06/1.182e-06, allocations: 0 / 318.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.271e-05, allocations: 5.516 kB / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002705/0.002718, allocations: 3.029 MB / 321.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.004079, allocations: 1.222 MB / 322.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.004213, allocations: 8 kB / 322.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.004522, allocations: 158.9 kB / 322.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.005186, allocations: 437.4 kB / 323.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.005411, allocations: 170.4 kB / 323.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.005841, allocations: 465.8 kB / 323.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.005995, allocations: 100.8 kB / 324 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.006196, allocations: 243.4 kB / 324.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.00636, allocations: 151.6 kB / 324.4 MB, free: 416 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.006395, allocations: 32 kB / 324.4 MB, free: 384 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.006603, allocations: 159.7 kB / 324.6 MB, free: 224 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.006649, allocations: 83.67 kB / 324.6 MB, free: 140 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.006736, allocations: 135.6 kB / 324.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.00719, allocations: 0.5452 MB / 325.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007191, allocations: 0 / 325.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007192, allocations: 0 / 325.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.007197, allocations: 0 / 325.3 MB, free: 15.45 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009151/0.008112, allocations: 0.6728 MB / 326 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.008148, allocations: 12.92 kB / 326 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.008205, allocations: 70.66 kB / 326.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.008512, allocations: 96.64 kB / 326.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.008811, allocations: 258 kB / 326.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.008831, allocations: 25.38 kB / 326.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.008872, allocations: 36.38 kB / 326.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.009267, allocations: 401.2 kB / 326.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.009278, allocations: 192 / 326.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.009302, allocations: 16.12 kB / 326.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.00931, allocations: 15.92 kB / 326.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.009615, allocations: 245.8 kB / 327.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.0108, allocations: 1.18 MB / 328.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.01104, allocations: 185.2 kB / 328.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.01113, allocations: 77.62 kB / 328.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.01157, allocations: 0.5185 MB / 329.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.01159, allocations: 38.56 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.153e-06/0.01159, allocations: 0 / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003368/0.01193, allocations: 221.5 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.01196, allocations: 85.11 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.01215, allocations: 296.2 kB / 329.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.01217, allocations: 25.7 kB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01227, allocations: 244 kB / 330 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.01231, allocations: 63.44 kB / 330 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.01237, allocations: 73.91 kB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.01246, allocations: 338.8 kB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.01255, allocations: 64.62 kB / 330.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01269, allocations: 202.3 kB / 330.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.01294, allocations: 288.9 kB / 331 MB, free: 9.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01294, allocations: 4 kB / 331 MB, free: 9.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003172/0.01326, allocations: 320.8 kB / 331.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.01327, allocations: 6.969 kB / 331.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.01327, allocations: 4 kB / 331.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01329, allocations: 8 kB / 331.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01344, allocations: 84.41 kB / 331.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.01345, allocations: 11.98 kB / 331.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.01355, allocations: 39.66 kB / 331.5 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01356, allocations: 16.25 kB / 331.5 MB, free: 8.859 MB / 298.7 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 9.908e-05/0.01366, allocations: 157.7 kB / 331.6 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.0137, allocations: 31.8 kB / 331.7 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.01374, allocations: 29.8 kB / 331.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01374, allocations: 0 / 331.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01374, allocations: 8 kB / 331.7 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.01375, allocations: 7.938 kB / 331.7 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.01417, allocations: 466.3 kB / 332.2 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01417, allocations: 0 / 332.2 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.01427, allocations: 39.97 kB / 332.2 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01427, allocations: 4 kB / 332.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01429, allocations: 7.938 kB / 332.2 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01429, allocations: 4 kB / 332.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01429, allocations: 0 / 332.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.01463, allocations: 423.3 kB / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.01465, allocations: 27.81 kB / 332.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01468, allocations: 11.92 kB / 332.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.01478, allocations: 8 kB / 332.7 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.01482, allocations: 19.97 kB / 332.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01482, allocations: 4 kB / 332.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.01495, allocations: 199.1 kB / 332.9 MB, free: 7.359 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01495, allocations: 64 / 332.9 MB, free: 7.359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.01521, allocations: 83.84 kB / 333 MB, free: 7.277 MB / 298.7 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.0005148/0.01573, allocations: 0.9699 MB / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.01596, allocations: 191.5 kB / 334.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01596, allocations: 4 kB / 334.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.01604, allocations: 65.09 kB / 334.2 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.0163, allocations: 29.11 kB / 334.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.01871, allocations: 3.052 MB / 337.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.01882, allocations: 165.1 kB / 337.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.0189, allocations: 30.97 kB / 337.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.019, allocations: 108.5 kB / 337.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.019, allocations: 0 / 337.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.03944, allocations: 6.263 MB / 343.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.199, allocations: 7.125 kB / 343.8 MB, free: 12.32 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.01047947909683]