Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001298/0.001298, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001509/0.001509, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1134, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005394/0.1188, allocations: 3.326 MB / 429.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1217, allocations: 1.413 MB / 431 MB, free: 28 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.1221, allocations: 11.94 kB / 431.1 MB, free: 16 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2465/0.3685, allocations: 134.5 kB / 431.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.3701, allocations: 431.6 kB / 431.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.3706, allocations: 186 kB / 431.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008251/0.3715, allocations: 464.9 kB / 432.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.3717, allocations: 105.8 kB / 432.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.372, allocations: 184.9 kB / 432.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.3722, allocations: 196 kB / 432.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.3723, allocations: 37.91 kB / 432.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.3727, allocations: 170.2 kB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.3727, allocations: 89.17 kB / 433 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3729, allocations: 192.5 kB / 433.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.3736, allocations: 0.5474 MB / 433.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3736, allocations: 3.328 kB / 433.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3736, allocations: 1.531 kB / 433.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3736, allocations: 0 / 433.8 MB, free: 7.312 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.001419/0.375, allocations: 0.7544 MB / 434.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.375, allocations: 9.062 kB / 434.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.3751, allocations: 72.03 kB / 434.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.3759, allocations: 114.4 kB / 434.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.3764, allocations: 324.9 kB / 435 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.3764, allocations: 24 kB / 435 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.3765, allocations: 37.97 kB / 435.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.3771, allocations: 356.1 kB / 435.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3772, allocations: 6.703 kB / 435.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.3772, allocations: 19.44 kB / 435.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3772, allocations: 12.03 kB / 435.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.3777, allocations: 247.1 kB / 435.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.3797, allocations: 1.311 MB / 437 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.3801, allocations: 187.9 kB / 437.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3802, allocations: 79.64 kB / 437.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/0.381, allocations: 1.196 MB / 438.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.381, allocations: 46.69 kB / 438.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.381, allocations: 0.9688 kB / 438.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005451/0.3815, allocations: 217.2 kB / 438.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3816, allocations: 84.67 kB / 438.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3819, allocations: 287.5 kB / 439.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3819, allocations: 30.8 kB / 439.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.382, allocations: 245.5 kB / 439.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.3821, allocations: 64.73 kB / 439.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/0.3822, allocations: 62.39 kB / 439.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3822, allocations: 338 kB / 439.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3824, allocations: 66.81 kB / 439.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3826, allocations: 199.2 kB / 440.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.383, allocations: 294.7 kB / 440.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.383, allocations: 2.141 kB / 440.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005726/0.3836, allocations: 319.4 kB / 440.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3836, allocations: 7.906 kB / 440.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3836, allocations: 5.938 kB / 440.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3836, allocations: 6.5 kB / 440.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3839, allocations: 88.33 kB / 440.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3839, allocations: 6.812 kB / 440.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3841, allocations: 42.72 kB / 440.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3841, allocations: 20.67 kB / 440.9 MB, free: 2.812 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.0001191/0.3842, allocations: 154.3 kB / 441 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.3843, allocations: 29.84 kB / 441 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.3844, allocations: 28.39 kB / 441.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3844, allocations: 6 kB / 441.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3844, allocations: 5.859 kB / 441.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3844, allocations: 2.203 kB / 441.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.385, allocations: 0.51 MB / 441.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.385, allocations: 2.984 kB / 441.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3852, allocations: 44.11 kB / 441.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3853, allocations: 1.406 kB / 441.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3853, allocations: 8.047 kB / 441.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3853, allocations: 1.312 kB / 441.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3853, allocations: 1.406 kB / 441.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3858, allocations: 428.8 kB / 442.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.3858, allocations: 113.9 kB / 442.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.3859, allocations: 7.375 kB / 442.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3861, allocations: 15.09 kB / 442.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3861, allocations: 13.69 kB / 442.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3861, allocations: 9.656 kB / 442.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3863, allocations: 200.6 kB / 442.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3863, allocations: 0 / 442.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.3867, allocations: 79.09 kB / 442.5 MB, free: 1.66 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.0007014/0.3874, allocations: 0.9695 MB / 443.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.3878, allocations: 181.2 kB / 443.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3878, allocations: 2.531 kB / 443.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.388, allocations: 66.84 kB / 443.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3884, allocations: 30.59 kB / 443.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.3931, allocations: 3.124 MB / 446.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.3936, allocations: 0.7742 MB / 447.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.3938, allocations: 38.67 kB / 447.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.394, allocations: 104.7 kB / 447.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.394, allocations: 5.031 kB / 447.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.4361, allocations: 5.616 MB / 453.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.705, allocations: 3.625 kB / 453.4 MB, free: 12.95 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/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_4.1.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.502149628009647]