Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 183.4 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008656, allocations: 90.23 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2159/0.2159, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003104, allocations: 8 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1085, allocations: 58.85 MB / 491.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002801/0.1114, allocations: 2.201 MB / 493.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1128, allocations: 0.7572 MB / 494.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.113, allocations: 8 kB / 494.1 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1133, allocations: 51.61 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1136, allocations: 79.44 kB / 494.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1139, allocations: 95.89 kB / 494.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.1144, allocations: 398.5 kB / 494.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1146, allocations: 124.2 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.1149, allocations: 127.4 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1151, allocations: 159.2 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.1152, allocations: 20 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.1153, allocations: 16 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.1154, allocations: 55.77 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1156, allocations: 188.7 kB / 495.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.1159, allocations: 398.4 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1159, allocations: 0 / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.116, allocations: 0 / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.116, allocations: 0 / 495.8 MB, free: 3.465 MB / 330.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.001102/0.1171, allocations: 0.6123 MB / 496.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1171, allocations: 15.97 kB / 496.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1173, allocations: 36.47 kB / 496.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1177, allocations: 276.6 kB / 496.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.1177, allocations: 25.38 kB / 496.8 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.1178, allocations: 28.38 kB / 496.8 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.1186, allocations: 378.2 kB / 497.2 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1186, allocations: 0 / 497.2 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1187, allocations: 16 kB / 497.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.1187, allocations: 8 kB / 497.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.1195, allocations: 291.7 kB / 497.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.1217, allocations: 1.35 MB / 498.8 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1223, allocations: 210.6 kB / 499 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1225, allocations: 91.56 kB / 499.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1226, allocations: 4 kB / 499.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1226, allocations: 46.48 kB / 499.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.1226, allocations: 0 / 499.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007945/0.1234, allocations: 281.2 kB / 499.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.1235, allocations: 136.5 kB / 499.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.1238, allocations: 324.4 kB / 499.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1238, allocations: 29.7 kB / 499.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.124, allocations: 243.6 kB / 0.4884 GB, free: 14.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1241, allocations: 47.3 kB / 0.4885 GB, free: 14.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.1241, allocations: 8 kB / 0.4885 GB, free: 14.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1242, allocations: 346.7 kB / 0.4888 GB, free: 14.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1245, allocations: 88.5 kB / 0.4889 GB, free: 14.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.1247, allocations: 184.1 kB / 0.4891 GB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.1253, allocations: 263.1 kB / 0.4893 GB, free: 13.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1253, allocations: 4 kB / 0.4893 GB, free: 13.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006577/0.1259, allocations: 328.8 kB / 0.4896 GB, free: 13.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.126, allocations: 12.25 kB / 0.4897 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.126, allocations: 0 / 0.4897 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.126, allocations: 4 kB / 0.4897 GB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.1264, allocations: 107.9 kB / 0.4898 GB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1264, allocations: 4 kB / 0.4898 GB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.1267, allocations: 51.58 kB / 0.4898 GB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.1268, allocations: 19.98 kB / 0.4898 GB, free: 13.26 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.0001531/0.1269, allocations: 153.6 kB / 0.49 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.127, allocations: 31.62 kB / 0.49 GB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.1271, allocations: 30.41 kB / 0.49 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1271, allocations: 4 kB / 0.49 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1271, allocations: 4 kB / 0.49 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1271, allocations: 0 / 0.49 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/0.1279, allocations: 0.592 MB / 0.4906 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.128, allocations: 0 / 0.4906 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.1282, allocations: 72.09 kB / 0.4907 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1283, allocations: 4 kB / 0.4907 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1283, allocations: 7.938 kB / 0.4907 GB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1283, allocations: 4 kB / 0.4907 GB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1283, allocations: 7.922 kB / 0.4907 GB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.1289, allocations: 410.6 kB / 0.4911 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.129, allocations: 112.8 kB / 0.4912 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.129, allocations: 15.88 kB / 0.4912 GB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.1293, allocations: 19.98 kB / 0.4912 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.1293, allocations: 15.92 kB / 0.4913 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1294, allocations: 11.98 kB / 0.4913 GB, free: 11.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1296, allocations: 223.1 kB / 0.4915 GB, free: 11.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1296, allocations: 4 kB / 0.4915 GB, free: 11.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.13, allocations: 75.75 kB / 0.4916 GB, free: 11.36 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.0001258/0.1301, allocations: 99.19 kB / 0.4917 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.1307, allocations: 207.7 kB / 0.4919 GB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.1307, allocations: 4 kB / 0.4919 GB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.131, allocations: 96.62 kB / 0.492 GB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1315, allocations: 29.38 kB / 0.492 GB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.1325, allocations: 0.7014 MB / 0.4927 GB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1329, allocations: 0.7713 MB / 0.4934 GB, free: 9.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.133, allocations: 30.2 kB / 0.4934 GB, free: 9.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.133, allocations: 19.44 kB / 0.4935 GB, free: 9.328 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1331, allocations: 0 / 0.4935 GB, free: 9.328 MB / 346.7 MB Notification: Performance of Templates: time 0.004849/0.1379, allocations: 1.614 MB / 0.495 GB, free: 7.719 MB / 346.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/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