Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001681/0.001681, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002006/0.002006, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2407/0.2407, allocations: 46.94 MB / 361.6 MB, free: 3.945 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 75.88 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3111, allocations: 66.08 MB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004157/0.3152, allocations: 2.345 MB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3172, allocations: 1.02 MB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.3173, allocations: 4 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.3187, allocations: 481.2 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.319, allocations: 103.2 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.32, allocations: 462.3 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.3204, allocations: 223 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.3209, allocations: 240.2 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.3211, allocations: 103.6 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.3213, allocations: 123.5 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.3213, allocations: 20 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.3217, allocations: 151.9 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3218, allocations: 55.77 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3219, allocations: 83.61 kB / 0.5667 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.3224, allocations: 410.5 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3225, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3225, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3225, allocations: 3.938 kB / 0.5671 GB, free: 14.26 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00139/0.3238, allocations: 0.5482 MB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3239, allocations: 12.03 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.3239, allocations: 8.688 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.324, allocations: 58.73 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.3243, allocations: 52.77 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3244, allocations: 130.2 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3245, allocations: 20.88 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.3245, allocations: 28.36 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.3251, allocations: 286.5 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3252, allocations: 4 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3252, allocations: 8 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3252, allocations: 15.94 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.3258, allocations: 221.6 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.3274, allocations: 0.887 MB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.3279, allocations: 205.1 kB / 0.5695 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.3282, allocations: 125.6 kB / 0.5696 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3284, allocations: 11.98 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3284, allocations: 38.56 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.3284, allocations: 0 / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001234/0.3296, allocations: 353.1 kB / 0.57 GB, free: 11.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.3297, allocations: 85.17 kB / 0.5701 GB, free: 11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3299, allocations: 139.7 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3299, allocations: 29.7 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.33, allocations: 144.3 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.3301, allocations: 71.38 kB / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.3302, allocations: 37.72 kB / 0.5705 GB, free: 10.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3303, allocations: 322.8 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3305, allocations: 75.88 kB / 0.5708 GB, free: 10.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.3308, allocations: 122 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.3313, allocations: 204.2 kB / 0.5711 GB, free: 9.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3313, allocations: 4 kB / 0.5712 GB, free: 9.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006735/0.332, allocations: 274.9 kB / 0.5714 GB, free: 9.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.332, allocations: 8 kB / 0.5714 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.332, allocations: 0 / 0.5714 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.3322, allocations: 57.88 kB / 0.5715 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3325, allocations: 47.91 kB / 0.5715 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.3348, allocations: 2.618 MB / 0.5741 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3349, allocations: 35.8 kB / 0.5741 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.335, allocations: 8.125 kB / 0.5741 GB, free: 6.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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): 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.0001607/0.3351, allocations: 150.4 kB / 0.5743 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.3352, allocations: 11.95 kB / 0.5743 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/0.3359, allocations: 270.2 kB / 0.5745 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3359, allocations: 4 kB / 0.5745 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3359, allocations: 0 / 0.5745 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3359, allocations: 0 / 0.5745 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.3372, allocations: 0.5965 MB / 0.5751 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3372, allocations: 8 kB / 0.5751 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3374, allocations: 43.91 kB / 0.5752 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.3376, allocations: 45.69 kB / 0.5752 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.3376, allocations: 8 kB / 0.5752 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.34, allocations: 2.63 MB / 0.5778 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.34, allocations: 4.125 kB / 0.5778 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.341, allocations: 0.5128 MB / 0.5783 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.3411, allocations: 11.94 kB / 0.5783 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3411, allocations: 8 kB / 0.5783 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3413, allocations: 23.98 kB / 0.5783 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.3414, allocations: 23.91 kB / 0.5784 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3414, allocations: 7.984 kB / 0.5784 GB, free: 1.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.832e-05/0.3415, allocations: 107.2 kB / 0.5785 GB, free: 1.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3415, allocations: 0 / 0.5785 GB, free: 1.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.3419, allocations: 71.84 kB / 0.5785 GB, free: 1.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * 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.001386/0.3433, allocations: 1.074 MB / 0.5796 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008562/0.3442, allocations: 413.1 kB / 0.58 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3442, allocations: 0 / 0.58 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.3447, allocations: 328.8 kB / 0.5803 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.3451, allocations: 20 kB / 0.5803 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.3486, allocations: 2.362 MB / 0.5826 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3488, allocations: 121.2 kB / 0.5827 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.995e-05/0.3489, allocations: 21.41 kB / 0.5828 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.349, allocations: 59.42 kB / 0.5828 GB, free: 13.01 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.349, allocations: 4 kB / 0.5828 GB, free: 13.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.3799, allocations: 4.729 MB / 0.5874 GB, free: 8.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.27, allocations: 15.3 kB / 0.5874 GB, free: 8.398 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.52392849395983]