Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.16 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 64.25 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003019/0.1209, allocations: 1.722 MB / 0.5447 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.121, allocations: 91.66 kB / 0.5447 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.1211, allocations: 0 / 0.5447 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.1212, allocations: 19.8 kB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.1212, allocations: 19.78 kB / 0.5448 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.999e-05/0.1213, allocations: 23.97 kB / 0.5448 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1215, allocations: 111.6 kB / 0.5449 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1216, allocations: 44.14 kB / 0.545 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.1217, allocations: 39.86 kB / 0.545 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.1218, allocations: 59.77 kB / 0.5451 GB, free: 2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1218, allocations: 8 kB / 0.5451 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.1219, allocations: 12 kB / 0.5451 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.1219, allocations: 27.92 kB / 0.5451 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.122, allocations: 43.8 kB / 0.5451 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1222, allocations: 131.4 kB / 0.5453 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1222, allocations: 0 / 0.5453 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1222, allocations: 0 / 0.5453 GB, free: 1.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1222, allocations: 0 / 0.5453 GB, free: 1.781 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.0007368/0.123, allocations: 415.1 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.123, allocations: 12.03 kB / 0.5457 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1231, allocations: 38.75 kB / 0.5457 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1231, allocations: 16.83 kB / 0.5457 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1233, allocations: 180.2 kB / 0.5459 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1233, allocations: 8.375 kB / 0.5459 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.1233, allocations: 8.375 kB / 0.5459 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.1237, allocations: 122.2 kB / 0.546 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1237, allocations: 3.938 kB / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1237, allocations: 4 kB / 0.546 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1237, allocations: 4 kB / 0.546 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.124, allocations: 107.8 kB / 0.5461 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.1248, allocations: 479.3 kB / 0.5466 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.1251, allocations: 78.52 kB / 0.5467 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1253, allocations: 60.94 kB / 0.5467 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1253, allocations: 0 / 0.5467 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.1253, allocations: 46.5 kB / 0.5468 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.1253, allocations: 0 / 0.5468 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008448/0.1262, allocations: 263.5 kB / 0.547 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1262, allocations: 51.41 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1263, allocations: 121.8 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1264, allocations: 29.64 kB / 0.5472 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.1264, allocations: 116.1 kB / 0.5473 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1265, allocations: 19.86 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1265, allocations: 25.7 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1267, allocations: 314.8 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1268, allocations: 39.95 kB / 0.5477 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.127, allocations: 54.47 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.1273, allocations: 98.45 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1273, allocations: 0 / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004211/0.1277, allocations: 150.3 kB / 0.548 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1277, allocations: 8 kB / 0.548 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1278, allocations: 0 / 0.548 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.1279, allocations: 24.84 kB / 0.548 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.128, allocations: 15.98 kB / 0.548 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.1293, allocations: 1.406 MB / 0.5494 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1294, allocations: 19.97 kB / 0.5494 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1294, allocations: 4.062 kB / 0.5494 GB, free: 13.06 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.0001143/0.1295, allocations: 117.8 kB / 0.5496 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1296, allocations: 8.031 kB / 0.5496 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.1296, allocations: 20.66 kB / 0.5496 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1296, allocations: 0 / 0.5496 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1296, allocations: 0 / 0.5496 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1296, allocations: 4 kB / 0.5496 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.1303, allocations: 428.1 kB / 0.55 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1303, allocations: 3.938 kB / 0.55 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.1304, allocations: 19.92 kB / 0.55 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.227e-05/0.1305, allocations: 20.84 kB / 0.55 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1305, allocations: 4.031 kB / 0.55 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1317, allocations: 1.402 MB / 0.5514 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1317, allocations: 4.062 kB / 0.5514 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.1322, allocations: 237.1 kB / 0.5516 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1323, allocations: 92.98 kB / 0.5517 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1323, allocations: 4 kB / 0.5517 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1324, allocations: 11.98 kB / 0.5517 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.1325, allocations: 12.12 kB / 0.5518 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1325, allocations: 0 / 0.5518 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.1326, allocations: 99.2 kB / 0.5519 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1326, allocations: 0 / 0.5519 GB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1328, allocations: 20 kB / 0.5519 GB, free: 10.32 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.0008477/0.1337, allocations: 0.7688 MB / 0.5526 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005843/0.1343, allocations: 218.5 kB / 0.5528 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1343, allocations: 0 / 0.5528 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.1346, allocations: 158.6 kB / 0.553 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1349, allocations: 16.12 kB / 0.553 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1373, allocations: 1.597 MB / 0.5546 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1376, allocations: 0.7002 MB / 0.5552 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.1377, allocations: 3.984 kB / 0.5552 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.1377, allocations: 23.44 kB / 0.5553 GB, free: 6.652 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1377, allocations: 0 / 0.5553 GB, free: 6.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.167, allocations: 2.393 MB / 0.5576 GB, free: 4.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.865/10.03, allocations: 3.938 kB / 0.5576 GB, free: 4.383 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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: 13.206069693900645]