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.001779/0.001779, allocations: 114 kB / 20.43 MB, free: 1.457 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.002647/0.002647, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2259/0.2259, allocations: 46.92 MB / 360.8 MB, free: 4.266 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.002401/0.002401, allocations: 83.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2917, allocations: 66.07 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00415/0.2959, allocations: 2.725 MB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2972, allocations: 0.7944 MB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.2974, allocations: 8 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2976, allocations: 71.36 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.2978, allocations: 111.2 kB / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2981, allocations: 111.8 kB / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.2985, allocations: 426.2 kB / 0.5648 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.2987, allocations: 99.86 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2989, allocations: 151.4 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.2992, allocations: 179.2 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.2992, allocations: 32 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.2993, allocations: 32 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.2993, allocations: 79.7 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.2995, allocations: 187 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.3, allocations: 428.1 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3, allocations: 0 / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3, allocations: 0 / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3, allocations: 0 / 0.566 GB, free: 14.88 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.001089/0.3011, allocations: 0.6066 MB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3011, allocations: 11.97 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.3012, allocations: 70.72 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.3013, allocations: 40.7 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.3016, allocations: 228.9 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.3017, allocations: 21.38 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3017, allocations: 32.38 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.3024, allocations: 366 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3024, allocations: 0 / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.3024, allocations: 16 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.3025, allocations: 8 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.3031, allocations: 263.8 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.3053, allocations: 1.296 MB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.3058, allocations: 198.6 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.306, allocations: 79.52 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.306, allocations: 7.922 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.306, allocations: 42.56 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.306, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007798/0.3068, allocations: 245.2 kB / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.3069, allocations: 144.6 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.3073, allocations: 337.7 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3073, allocations: 33.7 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.3075, allocations: 240.2 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.3076, allocations: 55.53 kB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.3077, allocations: 53.94 kB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3078, allocations: 350.7 kB / 0.5706 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.3081, allocations: 76.5 kB / 0.5706 GB, free: 9.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.3084, allocations: 172.1 kB / 0.5708 GB, free: 9.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.3089, allocations: 250.9 kB / 0.571 GB, free: 9.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3089, allocations: 0 / 0.571 GB, free: 9.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006689/0.3096, allocations: 309.1 kB / 0.5713 GB, free: 9.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3096, allocations: 10.34 kB / 0.5713 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3096, allocations: 4.016 kB / 0.5713 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3096, allocations: 8 kB / 0.5714 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.31, allocations: 96.11 kB / 0.5714 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3101, allocations: 7.984 kB / 0.5715 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3103, allocations: 48.27 kB / 0.5715 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.3103, allocations: 16 kB / 0.5715 GB, free: 8.828 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.0001653/0.3105, allocations: 154.9 kB / 0.5717 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3106, allocations: 31.81 kB / 0.5717 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.3107, allocations: 30.5 kB / 0.5717 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3107, allocations: 4 kB / 0.5717 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3107, allocations: 8 kB / 0.5717 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3107, allocations: 4 kB / 0.5717 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.3116, allocations: 0.5594 MB / 0.5723 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3116, allocations: 4 kB / 0.5723 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.3118, allocations: 52.11 kB / 0.5723 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3119, allocations: 7.984 kB / 0.5723 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3119, allocations: 11.94 kB / 0.5724 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3119, allocations: 3.938 kB / 0.5724 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3119, allocations: 4 kB / 0.5724 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3124, allocations: 391 kB / 0.5727 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.3125, allocations: 35.8 kB / 0.5728 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3125, allocations: 11.94 kB / 0.5728 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.3128, allocations: 23.91 kB / 0.5728 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.3129, allocations: 11.97 kB / 0.5728 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3129, allocations: 8 kB / 0.5728 GB, free: 7.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.3131, allocations: 239.2 kB / 0.5731 GB, free: 7.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3131, allocations: 0 / 0.5731 GB, free: 7.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.3135, allocations: 75.83 kB / 0.5731 GB, free: 7.07 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.000921/0.3145, allocations: 0.9265 MB / 0.574 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.315, allocations: 200 kB / 0.5742 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.315, allocations: 0 / 0.5742 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3152, allocations: 79.83 kB / 0.5743 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.3157, allocations: 27.62 kB / 0.5743 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.3198, allocations: 2.997 MB / 0.5772 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3203, allocations: 0.7753 MB / 0.578 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.3204, allocations: 21.95 kB / 0.578 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.3205, allocations: 107.4 kB / 0.5781 GB, free: 1.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3205, allocations: 0 / 0.5781 GB, free: 1.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.3518, allocations: 5.271 MB / 0.5833 GB, free: 12.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.91, allocations: 2.656 kB / 0.5833 GB, free: 12.53 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.770226487889886]