Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001224/0.001224, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001311/0.001311, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.445/1.445, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 64.12 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1314, allocations: 53.32 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005176/0.1366, allocations: 2.865 MB / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1383, allocations: 0.7984 MB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1384, allocations: 4 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1387, allocations: 59.44 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.139, allocations: 99.19 kB / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1393, allocations: 119.8 kB / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.1398, allocations: 398.5 kB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.1401, allocations: 94.94 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.1404, allocations: 167.3 kB / 431.3 MB, free: 396 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1407, allocations: 171.2 kB / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.1407, allocations: 36 kB / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.1408, allocations: 32 kB / 431.5 MB, free: 156 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.1409, allocations: 87.62 kB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2764/0.4173, allocations: 169.4 kB / 431.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006961/0.418, allocations: 409.2 kB / 432.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.418, allocations: 0 / 432.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.418, allocations: 1.375 kB / 432.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4181, allocations: 0 / 432.1 MB, free: 7.594 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001315/0.4194, allocations: 0.6623 MB / 432.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4194, allocations: 9.812 kB / 432.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.4195, allocations: 69.06 kB / 432.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.4196, allocations: 39.89 kB / 432.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.42, allocations: 284.6 kB / 433.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.4201, allocations: 26.06 kB / 433.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.4201, allocations: 31.41 kB / 433.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.4208, allocations: 293.1 kB / 433.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4208, allocations: 0.875 kB / 433.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.4208, allocations: 13.03 kB / 433.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4208, allocations: 9.656 kB / 433.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.4214, allocations: 251.3 kB / 433.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.423, allocations: 1.117 MB / 434.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.4234, allocations: 148.5 kB / 435.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.4236, allocations: 60.89 kB / 435.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.4236, allocations: 10.36 kB / 435.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4236, allocations: 31.97 kB / 435.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.4236, allocations: 0 / 435.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002025/0.4257, allocations: 0.6007 MB / 435.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.4257, allocations: 54.44 kB / 435.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.426, allocations: 286.2 kB / 436.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.426, allocations: 33.05 kB / 436.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4261, allocations: 233.6 kB / 436.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.4261, allocations: 80.8 kB / 436.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.4262, allocations: 62.48 kB / 436.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4263, allocations: 342.6 kB / 436.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.4266, allocations: 94.84 kB / 436.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4269, allocations: 195 kB / 437.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.4275, allocations: 301.7 kB / 437.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4275, allocations: 1.719 kB / 437.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008351/0.4283, allocations: 399.8 kB / 437.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4284, allocations: 12.14 kB / 437.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4284, allocations: 2.344 kB / 437.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.4286, allocations: 61.77 kB / 437.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.429, allocations: 76.53 kB / 438 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.4306, allocations: 2.837 MB / 440.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.4308, allocations: 24.64 kB / 440.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.4309, allocations: 15.25 kB / 440.8 MB, free: 2.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.431, allocations: 157.7 kB / 441 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.4311, allocations: 29.17 kB / 441 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.4311, allocations: 29.89 kB / 441 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4311, allocations: 1.438 kB / 441 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.4311, allocations: 6.078 kB / 441.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4312, allocations: 2 kB / 441.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.4315, allocations: 336.5 kB / 441.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4315, allocations: 0 / 441.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4318, allocations: 39.12 kB / 441.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.4319, allocations: 60.98 kB / 441.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4319, allocations: 4.703 kB / 441.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.4339, allocations: 2.834 MB / 444.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4339, allocations: 3.938 kB / 444.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.4347, allocations: 380.5 kB / 444.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4348, allocations: 101.8 kB / 444.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.4349, allocations: 5.078 kB / 444.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4351, allocations: 16.7 kB / 444.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.4352, allocations: 20.59 kB / 444.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.4352, allocations: 6.484 kB / 444.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.4354, allocations: 200 kB / 445 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4354, allocations: 4 kB / 445 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.4359, allocations: 70.94 kB / 445.1 MB, free: 14.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/0.4371, allocations: 0.9153 MB / 446 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.4382, allocations: 476.6 kB / 446.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4382, allocations: 0 / 446.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.4388, allocations: 339.4 kB / 446.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4392, allocations: 33.91 kB / 446.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.4446, allocations: 3.036 MB / 449.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.4452, allocations: 0.7756 MB / 450.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.4453, allocations: 28.39 kB / 450.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4455, allocations: 101.8 kB / 450.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4455, allocations: 0 / 450.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.4928, allocations: 5.82 MB / 456.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11, allocations: 11.42 kB / 456.6 MB, free: 9.953 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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: 13.387718226760626]