Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.001252/0.001252, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001437/0.001437, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.94 MB / 360.8 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 83.8 kB / 0.4961 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3323, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004185/0.3364, allocations: 2.503 MB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3379, allocations: 0.74 MB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3381, allocations: 8 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.3383, allocations: 83.3 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.3385, allocations: 107.2 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.3388, allocations: 103.9 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.3392, allocations: 426.3 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.3395, allocations: 99.86 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.3397, allocations: 151.3 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3399, allocations: 151.2 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.3399, allocations: 32 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.34, allocations: 35.94 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.3401, allocations: 79.69 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3402, allocations: 147.3 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.3407, allocations: 428.1 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3407, allocations: 7.984 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3407, allocations: 0 / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3407, allocations: 4 kB / 0.5656 GB, free: 14.94 MB / 414.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.001078/0.3418, allocations: 0.6027 MB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3418, allocations: 8.031 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.981e-05/0.3419, allocations: 74.72 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.342, allocations: 44.69 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.3424, allocations: 228.9 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.3424, allocations: 25.38 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.3424, allocations: 36.31 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3431, allocations: 366 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3431, allocations: 3.984 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3432, allocations: 16 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3432, allocations: 8 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.3438, allocations: 259.8 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.3459, allocations: 1.222 MB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.3464, allocations: 194.6 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3466, allocations: 79.5 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3467, allocations: 4 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3467, allocations: 34.56 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3467, allocations: 4 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008064/0.3475, allocations: 257.2 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.3476, allocations: 132.5 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.348, allocations: 345.6 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.348, allocations: 29.7 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.3482, allocations: 252.1 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.3482, allocations: 51.58 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.3483, allocations: 58.06 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3485, allocations: 346.8 kB / 0.5701 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.3487, allocations: 80.44 kB / 0.5702 GB, free: 9.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.349, allocations: 172.2 kB / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.3495, allocations: 246.9 kB / 0.5706 GB, free: 9.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3495, allocations: 4.5 kB / 0.5706 GB, free: 9.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006554/0.3502, allocations: 309.2 kB / 0.5709 GB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3502, allocations: 4 kB / 0.5709 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3502, allocations: 7.984 kB / 0.5709 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3502, allocations: 4 kB / 0.5709 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.3506, allocations: 92.12 kB / 0.571 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.3506, allocations: 19.86 kB / 0.571 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.3509, allocations: 51.59 kB / 0.5711 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3509, allocations: 12 kB / 0.5711 GB, free: 8.945 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001604/0.3511, allocations: 149.7 kB / 0.5712 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3512, allocations: 35.77 kB / 0.5713 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.3513, allocations: 34.48 kB / 0.5713 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3513, allocations: 4 kB / 0.5713 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3513, allocations: 0 / 0.5713 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3513, allocations: 4 kB / 0.5713 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.3521, allocations: 0.536 MB / 0.5718 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3521, allocations: 4 kB / 0.5719 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.3524, allocations: 59.88 kB / 0.5719 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3524, allocations: 4 kB / 0.5719 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3524, allocations: 8.094 kB / 0.5719 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3524, allocations: 4 kB / 0.5719 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3524, allocations: 4 kB / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.3529, allocations: 390.8 kB / 0.5723 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.353, allocations: 43.69 kB / 0.5723 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.3531, allocations: 7.938 kB / 0.5723 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.3533, allocations: 15.98 kB / 0.5724 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3533, allocations: 19.97 kB / 0.5724 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3534, allocations: 4 kB / 0.5724 GB, free: 7.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.3536, allocations: 235.2 kB / 0.5726 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3536, allocations: 0 / 0.5726 GB, free: 7.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000385/0.354, allocations: 71.89 kB / 0.5727 GB, free: 7.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.0008947/0.3549, allocations: 0.9366 MB / 0.5736 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.3554, allocations: 192.1 kB / 0.5738 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3554, allocations: 0 / 0.5738 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.3557, allocations: 80.95 kB / 0.5739 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3561, allocations: 23.31 kB / 0.5739 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.3601, allocations: 3.004 MB / 0.5768 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3603, allocations: 168.8 kB / 0.577 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.3604, allocations: 21.94 kB / 0.577 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3605, allocations: 103.4 kB / 0.5771 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3605, allocations: 3.938 kB / 0.5771 GB, free: 2.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.3924, allocations: 5.55 MB / 0.5825 GB, free: 13.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.51, allocations: 0 / 0.5825 GB, free: 13.01 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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: 14.432978979311883]