Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9871/0.9871, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1408/0.1408, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.29e-05, allocations: 5.938 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002685/0.002708, allocations: 2.443 MB / 409.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.003689, allocations: 0.7561 MB / 410 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.003815, allocations: 11.94 kB / 410 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.004005, allocations: 67.38 kB / 410.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.004188, allocations: 107.1 kB / 410.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.004411, allocations: 111.8 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.004713, allocations: 434.1 kB / 410.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.004885, allocations: 95.84 kB / 410.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.005134, allocations: 235.5 kB / 411.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.005247, allocations: 123.6 kB / 411.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.00529, allocations: 36 kB / 411.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.005322, allocations: 32 kB / 411.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.005364, allocations: 71.73 kB / 411.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.005455, allocations: 123.7 kB / 411.4 MB, free: 8.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.005752, allocations: 426.6 kB / 411.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.005757, allocations: 4 kB / 411.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.00576, allocations: 3.984 kB / 411.9 MB, free: 8.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.005767, allocations: 0 / 411.9 MB, free: 8.469 MB / 346.7 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.0006989/0.006466, allocations: 0.5871 MB / 412.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.006506, allocations: 12.03 kB / 412.5 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.00656, allocations: 70.72 kB / 412.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.006606, allocations: 44.66 kB / 412.6 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.00689, allocations: 226 kB / 412.8 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.006908, allocations: 21.38 kB / 412.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.006939, allocations: 44.3 kB / 412.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.00738, allocations: 362.7 kB / 413.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.00739, allocations: 0 / 413.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.007414, allocations: 20 kB / 413.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.007422, allocations: 11.98 kB / 413.2 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.007784, allocations: 263.8 kB / 413.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.009026, allocations: 1.216 MB / 414.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.009368, allocations: 190.5 kB / 414.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.009488, allocations: 79.45 kB / 415 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.009517, allocations: 8 kB / 415 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.00954, allocations: 38.5 kB / 415 MB, free: 5.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.009542, allocations: 4 kB / 415 MB, free: 5.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004983/0.01004, allocations: 245.6 kB / 415.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.01011, allocations: 136.5 kB / 415.4 MB, free: 4.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01038, allocations: 332.3 kB / 415.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.0104, allocations: 33.7 kB / 415.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.01055, allocations: 240.3 kB / 416 MB, free: 4.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.01058, allocations: 59.52 kB / 416.1 MB, free: 3.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.01064, allocations: 53.94 kB / 416.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.01074, allocations: 342.8 kB / 416.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.01088, allocations: 76.62 kB / 416.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.0111, allocations: 172.2 kB / 416.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.0114, allocations: 259 kB / 416.9 MB, free: 3.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.0114, allocations: 3.938 kB / 416.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003741/0.01178, allocations: 305.1 kB / 417.2 MB, free: 2.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01179, allocations: 4 kB / 417.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.0118, allocations: 4 kB / 417.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01182, allocations: 4 kB / 417.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.01203, allocations: 100.1 kB / 417.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.01204, allocations: 7.938 kB / 417.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.01217, allocations: 43.72 kB / 417.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01218, allocations: 11.98 kB / 417.4 MB, free: 2.531 MB / 346.7 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.0001118/0.0123, allocations: 153.7 kB / 417.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.01235, allocations: 31.81 kB / 417.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.01239, allocations: 34.56 kB / 417.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.0124, allocations: 8 kB / 417.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.0124, allocations: 0 / 417.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01241, allocations: 0 / 417.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.01293, allocations: 0.536 MB / 418.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01293, allocations: 0 / 418.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.01306, allocations: 55.89 kB / 418.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01307, allocations: 8.141 kB / 418.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01308, allocations: 8 kB / 418.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01308, allocations: 7.938 kB / 418.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01308, allocations: 3.938 kB / 418.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.01355, allocations: 394.7 kB / 418.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.01359, allocations: 39.75 kB / 418.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.01362, allocations: 4 kB / 418.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01373, allocations: 19.98 kB / 418.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.01378, allocations: 15.91 kB / 418.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01379, allocations: 12 kB / 418.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.01395, allocations: 227.1 kB / 419 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01395, allocations: 0 / 419 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.01422, allocations: 67.83 kB / 419 MB, free: 0.8203 MB / 346.7 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.0005272/0.01475, allocations: 0.9303 MB / 419.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.01507, allocations: 187.7 kB / 420.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01507, allocations: 0.5 kB / 420.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.01519, allocations: 79.89 kB / 420.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.01551, allocations: 23.84 kB / 420.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.01827, allocations: 2.962 MB / 423.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01839, allocations: 164.8 kB / 423.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.839e-05/0.01847, allocations: 26.2 kB / 423.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01858, allocations: 100.5 kB / 423.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01858, allocations: 4 kB / 423.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.03549, allocations: 5.572 MB / 429.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/6.955, allocations: 9.219 kB / 429.1 MB, free: 6.523 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSource.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource1.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource1.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.346667815931141]