Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001439/0.001439, allocations: 119.8 kB / 18.45 MB, free: 4.477 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.001448/0.001448, allocations: 190.9 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.6 MB / 231.8 MB, free: 3.961 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 55.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09493, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008614/0.1035, allocations: 6.487 MB / 397.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.1082, allocations: 2.609 MB / 400.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.1086, allocations: 20 kB / 400.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.1116, allocations: 1.291 MB / 401.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1134, allocations: 0.7146 MB / 402.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1156, allocations: 1.102 MB / 403.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.1169, allocations: 1.098 MB / 404.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.118, allocations: 0.6963 MB / 405.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.1186, allocations: 446.4 kB / 405.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.1193, allocations: 0.5562 MB / 406.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.1194, allocations: 100 kB / 406.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.1203, allocations: 407.6 kB / 406.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.1205, allocations: 243.1 kB / 407.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.121, allocations: 0.5286 MB / 407.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.1229, allocations: 1.533 MB / 409.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1229, allocations: 0 / 409.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1229, allocations: 0 / 409.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1229, allocations: 0 / 409.2 MB, free: 6.836 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00427/0.1272, allocations: 1.681 MB / 410.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1272, allocations: 8.031 kB / 410.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/0.1275, allocations: 171.8 kB / 411 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.1313, allocations: 0.5817 MB / 411.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.1321, allocations: 0.5019 MB / 412.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.1322, allocations: 90.23 kB / 412.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.1324, allocations: 116 kB / 412.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1343, allocations: 1.018 MB / 413.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.1343, allocations: 3.953 kB / 413.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.1344, allocations: 48 kB / 413.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1345, allocations: 28 kB / 413.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.1365, allocations: 1.028 MB / 414.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006341/0.1428, allocations: 3.846 MB / 418.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.1453, allocations: 1.997 MB / 420.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.1461, allocations: 407.5 kB / 420.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1462, allocations: 106.1 kB / 420.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.1471, allocations: 474.4 kB / 421.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 2.394e-06/0.1471, allocations: 4 kB / 421.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=127): time 0.009051/0.1561, allocations: 4.032 MB / 425.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.1562, allocations: 145.5 kB / 425.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.1567, allocations: 417.8 kB / 425.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.1568, allocations: 45.7 kB / 425.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.1572, allocations: 452.8 kB / 426.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.1575, allocations: 452.1 kB / 426.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.1578, allocations: 214.9 kB / 427 MB, free: 4.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.158, allocations: 378.7 kB / 427.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007337/0.1587, allocations: 370.5 kB / 427.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009281/0.1597, allocations: 0.5925 MB / 428.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.1614, allocations: 0.997 MB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1614, allocations: 4 kB / 429.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002679/0.164, allocations: 1.429 MB / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1641, allocations: 11.91 kB / 430.7 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.1641, allocations: 11.98 kB / 430.7 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/0.165, allocations: 351.2 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/0.1659, allocations: 219.7 kB / 431.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008663/0.1745, allocations: 8.486 MB / 439.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.1753, allocations: 52.05 kB / 439.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.1754, allocations: 47.98 kB / 439.9 MB, free: 6.477 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00044/0.1758, allocations: 265.5 kB / 440.1 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1759, allocations: 75.53 kB / 440.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.1786, allocations: 1.309 MB / 441.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.1786, allocations: 19.88 kB / 441.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1786, allocations: 8.125 kB / 441.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.1786, allocations: 11.91 kB / 441.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.1829, allocations: 2.542 MB / 444.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1829, allocations: 7.984 kB / 444.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.1836, allocations: 155.8 kB / 444.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000809/0.1844, allocations: 331.2 kB / 444.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.1845, allocations: 27.98 kB / 444.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008282/0.1927, allocations: 8.121 MB / 452.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1927, allocations: 3.938 kB / 452.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.1962, allocations: 1.83 MB / 454.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.1965, allocations: 228.6 kB / 454.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.1966, allocations: 24 kB / 454.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.1971, allocations: 43.98 kB / 454.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.1973, allocations: 96.8 kB / 455 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.1974, allocations: 39.92 kB / 455 MB, free: 6.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1977, allocations: 279.2 kB / 455.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1977, allocations: 0 / 455.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001179/0.1989, allocations: 316 kB / 455.6 MB, free: 6.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003856/0.2027, allocations: 2.431 MB / 458 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.2057, allocations: 1.585 MB / 459.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2057, allocations: 1.438 kB / 459.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.2074, allocations: 1.111 MB / 460.7 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.2081, allocations: 85.48 kB / 460.8 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.182/0.3901, allocations: 7.533 MB / 468.3 MB, free: 61.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.3907, allocations: 1.03 MB / 469.4 MB, free: 60.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004306/0.3911, allocations: 106.6 kB / 469.5 MB, free: 60.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.3915, allocations: 354.1 kB / 469.8 MB, free: 60.89 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3915, allocations: 2.781 kB / 469.8 MB, free: 60.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.636/4.028, allocations: 18.69 MB / 488.5 MB, free: 51.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/23.28, allocations: 0 / 488.5 MB, free: 51.25 MB / 382.1 MB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 26.407473465893418]