Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.001604/0.001604, allocations: 109 kB / 21.1 MB, free: 0.7695 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.001417/0.001417, allocations: 205.4 kB / 24.38 MB, free: 4.188 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.444/1.444, allocations: 230.2 MB / 257.7 MB, free: 8.27 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.2293/0.2293, allocations: 46.89 MB / 361 MB, free: 4.469 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.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 79.86 kB / 0.4962 GB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3131, allocations: 66.03 MB / 0.5606 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.0029/0.316, allocations: 1.733 MB / 0.5623 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001589/0.3161, allocations: 91.66 kB / 0.5624 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.3162, allocations: 4 kB / 0.5624 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.3162, allocations: 11.81 kB / 0.5624 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.3163, allocations: 27.77 kB / 0.5625 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.471e-05/0.3164, allocations: 23.97 kB / 0.5625 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.3165, allocations: 107.6 kB / 0.5626 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.3167, allocations: 53.78 kB / 0.5626 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.3167, allocations: 35.92 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.3168, allocations: 51.77 kB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3168, allocations: 12 kB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.3168, allocations: 12 kB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.3169, allocations: 23.91 kB / 0.5628 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.3169, allocations: 59.67 kB / 0.5628 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3171, allocations: 111.6 kB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3171, allocations: 0 / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3171, allocations: 0 / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3171, allocations: 0 / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006204/0.3177, allocations: 430.9 kB / 0.5633 GB, free: 1.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3178, allocations: 8.031 kB / 0.5633 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.3178, allocations: 42.69 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3178, allocations: 12.88 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.318, allocations: 176.3 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.318, allocations: 8.375 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.318, allocations: 16.38 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.3183, allocations: 118.1 kB / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3183, allocations: 3.938 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3183, allocations: 8 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3183, allocations: 0 / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.3187, allocations: 111.8 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007339/0.3194, allocations: 475.4 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.3197, allocations: 82.47 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.3199, allocations: 64.92 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3199, allocations: 0 / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3199, allocations: 38.5 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.3199, allocations: 0 / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007825/0.3207, allocations: 271.4 kB / 0.5647 GB, free: 316 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3208, allocations: 51.41 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.3209, allocations: 121.8 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3209, allocations: 29.7 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.321, allocations: 112.2 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.321, allocations: 15.8 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.321, allocations: 25.7 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3212, allocations: 314.8 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3213, allocations: 39.95 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3215, allocations: 58.53 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3218, allocations: 98.39 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3218, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004/0.3222, allocations: 150.3 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3222, allocations: 4 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3222, allocations: 0 / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.3223, allocations: 32.72 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3225, allocations: 15.98 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3237, allocations: 1.399 MB / 0.5671 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.3238, allocations: 20.02 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3238, allocations: 12.16 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.3239, allocations: 117.8 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3239, allocations: 11.89 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.3239, allocations: 12.36 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3239, allocations: 4.031 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3239, allocations: 4 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3239, allocations: 0 / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.3246, allocations: 420.1 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3246, allocations: 0 / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.3247, allocations: 15.98 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.3248, allocations: 28.88 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3248, allocations: 0 / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.3258, allocations: 1.402 MB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3258, allocations: 0 / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3262, allocations: 241 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3263, allocations: 93.11 kB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.3263, allocations: 0 / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3264, allocations: 11.98 kB / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3265, allocations: 11.98 kB / 0.5694 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3265, allocations: 4.125 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.3265, allocations: 99.2 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3265, allocations: 0 / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3268, allocations: 31.89 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.0007462/0.3275, allocations: 0.757 MB / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.328, allocations: 206.5 kB / 0.5705 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.328, allocations: 4 kB / 0.5705 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.3283, allocations: 158.8 kB / 0.5706 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.3286, allocations: 20.05 kB / 0.5707 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3307, allocations: 1.616 MB / 0.5722 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.331, allocations: 0.704 MB / 0.5729 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.331, allocations: 3.75 kB / 0.5729 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.3311, allocations: 23.44 kB / 0.573 GB, free: 7.195 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3311, allocations: 0 / 0.573 GB, free: 7.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3584, allocations: 2.404 MB / 0.5753 GB, free: 4.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.852/10.21, allocations: 2.719 kB / 0.5753 GB, free: 4.883 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.17587179504335]