Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.001489/0.001489, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001976/0.001976, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.459/1.459, allocations: 207.6 MB / 232.5 MB, free: 3.77 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.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.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 51.92 kB / 343 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1049, allocations: 49.12 MB / 392.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004444/0.1093, allocations: 2.684 MB / 394.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.111, allocations: 0.9158 MB / 395.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.1112, allocations: 4 kB / 395.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1115, allocations: 59.45 kB / 395.8 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.1118, allocations: 111.2 kB / 395.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1121, allocations: 95.83 kB / 396 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.1125, allocations: 350.6 kB / 396.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.1127, allocations: 81.64 kB / 396.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1129, allocations: 147.4 kB / 396.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1131, allocations: 147.3 kB / 396.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.1132, allocations: 32 kB / 396.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.724e-05/0.1132, allocations: 28 kB / 396.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.1133, allocations: 75.73 kB / 396.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.1135, allocations: 155.2 kB / 397 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1139, allocations: 362.5 kB / 397.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1139, allocations: 0 / 397.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1139, allocations: 0 / 397.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1139, allocations: 0 / 397.3 MB, free: 3.441 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001136/0.1151, allocations: 0.6039 MB / 397.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1151, allocations: 15.89 kB / 397.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.633e-05/0.1151, allocations: 4.75 kB / 397.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.791e-05/0.1152, allocations: 62.73 kB / 398 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.1153, allocations: 44.69 kB / 398 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.1157, allocations: 259.9 kB / 398.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1158, allocations: 20.94 kB / 398.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.1158, allocations: 24.38 kB / 398.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.1163, allocations: 248.8 kB / 398.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1163, allocations: 0 / 398.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.1164, allocations: 12 kB / 398.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1164, allocations: 11.94 kB / 398.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.1169, allocations: 218.1 kB / 398.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1186, allocations: 1.005 MB / 399.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.1191, allocations: 194.3 kB / 400 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.1193, allocations: 100.9 kB / 400.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1193, allocations: 7.984 kB / 400.1 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.1194, allocations: 38.56 kB / 400.2 MB, free: 396 kB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.1194, allocations: 0 / 400.2 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005351/0.1247, allocations: 1.546 MB / 401.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1248, allocations: 55.41 kB / 401.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1251, allocations: 229 kB / 402 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1251, allocations: 33.7 kB / 402 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1252, allocations: 180.5 kB / 402.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1253, allocations: 130.9 kB / 402.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1255, allocations: 62.08 kB / 402.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1256, allocations: 338.8 kB / 402.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.1259, allocations: 108.7 kB / 402.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.1262, allocations: 169.4 kB / 403 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.1267, allocations: 276 kB / 403.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1268, allocations: 4 kB / 403.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001641/0.1284, allocations: 0.5333 MB / 403.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1284, allocations: 8 kB / 403.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1284, allocations: 0 / 403.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.1298, allocations: 233.4 kB / 404 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1301, allocations: 63.91 kB / 404.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/0.1357, allocations: 4.141 MB / 408.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.136, allocations: 12.03 kB / 408.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.136, allocations: 8 kB / 408.2 MB, free: 7.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.1362, allocations: 161.8 kB / 408.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1363, allocations: 27.81 kB / 408.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1364, allocations: 34.97 kB / 408.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1364, allocations: 4 kB / 408.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.1365, allocations: 4 kB / 408.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1365, allocations: 3.984 kB / 408.5 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.1387, allocations: 0.9805 MB / 409.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1387, allocations: 0 / 409.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.139, allocations: 39.92 kB / 409.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.1402, allocations: 249.8 kB / 409.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.1402, allocations: 4 kB / 409.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.1454, allocations: 4.126 MB / 413.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1454, allocations: 3.984 kB / 413.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.1474, allocations: 0.7289 MB / 414.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1475, allocations: 108.9 kB / 414.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1475, allocations: 4 kB / 414.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1477, allocations: 16 kB / 414.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1479, allocations: 27.95 kB / 414.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1479, allocations: 8 kB / 414.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1481, allocations: 168.5 kB / 414.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 4.062 kB / 414.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.1487, allocations: 100 kB / 415 MB, free: 0.6445 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.151, allocations: 1.278 MB / 416.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1522, allocations: 0.5479 MB / 416.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1522, allocations: 0 / 416.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.1528, allocations: 421.1 kB / 417.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1532, allocations: 24.44 kB / 417.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.1597, allocations: 3.348 MB / 420.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.1602, allocations: 0.776 MB / 421.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1603, allocations: 18.3 kB / 421.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1604, allocations: 95.39 kB / 421.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1604, allocations: 0 / 421.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.1993, allocations: 8.487 MB / 430 MB, free: 1.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/12.87, allocations: 11.86 kB / 430 MB, free: 1.344 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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: 15.660013291984797]