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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 108.2 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3408/0.3408, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009582/0.0009582, allocations: 51.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1069, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003812/0.1107, allocations: 2.659 MB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.112, allocations: 0.78 MB / 490.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.1122, allocations: 8 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1125, allocations: 59.61 kB / 490.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1128, allocations: 87.42 kB / 490.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1132, allocations: 91.86 kB / 490.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1136, allocations: 398.5 kB / 491.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.1138, allocations: 128.2 kB / 491.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.114, allocations: 139.4 kB / 491.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1142, allocations: 163.2 kB / 491.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.1143, allocations: 24 kB / 491.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.114e-05/0.1143, allocations: 20 kB / 491.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.1144, allocations: 71.69 kB / 491.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1146, allocations: 167.1 kB / 491.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1149, allocations: 402.5 kB / 492.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1149, allocations: 0 / 492.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1149, allocations: 0 / 492.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1149, allocations: 3.938 kB / 492.2 MB, free: 7.344 MB / 378.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.001063/0.116, allocations: 0.6707 MB / 492.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.116, allocations: 8.031 kB / 492.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.1161, allocations: 40.47 kB / 492.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1164, allocations: 272.6 kB / 493.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1164, allocations: 25.38 kB / 493.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1165, allocations: 36.38 kB / 493.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.1171, allocations: 366.2 kB / 493.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1172, allocations: 0 / 493.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.1172, allocations: 12 kB / 493.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1172, allocations: 11.94 kB / 493.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.1178, allocations: 267.8 kB / 493.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1197, allocations: 1.338 MB / 495.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.1201, allocations: 202.5 kB / 495.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.1203, allocations: 83.56 kB / 495.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1204, allocations: 7.984 kB / 495.5 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1204, allocations: 38.5 kB / 495.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.1204, allocations: 0 / 495.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007282/0.1212, allocations: 249.4 kB / 495.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.1212, allocations: 136.5 kB / 495.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1215, allocations: 328.4 kB / 496.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1216, allocations: 33.83 kB / 496.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1217, allocations: 231.7 kB / 496.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1217, allocations: 59.17 kB / 496.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.1218, allocations: 49.98 kB / 496.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1219, allocations: 346.8 kB / 496.9 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1222, allocations: 76.62 kB / 497 MB, free: 2.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1224, allocations: 172.2 kB / 497.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.1229, allocations: 254.9 kB / 497.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1229, allocations: 0 / 497.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006035/0.1235, allocations: 309 kB / 497.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1235, allocations: 8 kB / 497.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1235, allocations: 4 kB / 497.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1236, allocations: 4 kB / 497.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.1239, allocations: 95.8 kB / 497.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.124, allocations: 4 kB / 497.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.1242, allocations: 51.69 kB / 497.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1243, allocations: 12 kB / 497.9 MB, free: 1.199 MB / 378.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.0001225/0.1244, allocations: 149.7 kB / 498 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.1245, allocations: 31.62 kB / 498.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.1246, allocations: 34.41 kB / 498.1 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1246, allocations: 4 kB / 498.1 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1246, allocations: 0 / 498.1 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1246, allocations: 0 / 498.1 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.1253, allocations: 0.5837 MB / 498.7 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1253, allocations: 0 / 498.7 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.1256, allocations: 63.88 kB / 498.8 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1256, allocations: 4.156 kB / 498.8 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1256, allocations: 7.938 kB / 498.8 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1256, allocations: 7.984 kB / 498.8 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1256, allocations: 0 / 498.8 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.1266, allocations: 1.047 MB / 499.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.1267, allocations: 116.7 kB / 499.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1267, allocations: 8 kB / 499.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1269, allocations: 11.98 kB / 500 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.127, allocations: 23.95 kB / 500 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.127, allocations: 4 kB / 500 MB, free: 14.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.1273, allocations: 231 kB / 0.4885 GB, free: 14.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 0.4885 GB, free: 14.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.1277, allocations: 67.84 kB / 0.4885 GB, free: 14.64 MB / 394.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 9.223e-05/0.1278, allocations: 111.1 kB / 0.4887 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.1283, allocations: 191.7 kB / 0.4888 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1283, allocations: 0.5 kB / 0.4888 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.1286, allocations: 83.88 kB / 0.4889 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1291, allocations: 25.09 kB / 0.4889 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1302, allocations: 0.8231 MB / 0.4897 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1305, allocations: 0.7792 MB / 0.4905 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1307, allocations: 21.94 kB / 0.4905 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.1307, allocations: 23.38 kB / 0.4905 GB, free: 12.5 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1307, allocations: 3.938 kB / 0.4906 GB, free: 12.5 MB / 394.7 MB Notification: Performance of Templates: time 0.004351/0.1351, allocations: 1.691 MB / 0.4922 GB, free: 10.8 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches