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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 117.1 kB / 17.08 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.203/0.203, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 67.89 kB / 442.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 57.8 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004674/0.1345, allocations: 2.624 MB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1362, allocations: 0.7991 MB / 0.4919 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1366, allocations: 8 kB / 0.4919 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1369, allocations: 63.38 kB / 0.4919 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.1374, allocations: 103.2 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1378, allocations: 111.8 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00059/0.1385, allocations: 422.4 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.1387, allocations: 143.2 kB / 0.4927 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.1391, allocations: 147.5 kB / 0.4928 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.1393, allocations: 167.2 kB / 0.493 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.1394, allocations: 32 kB / 0.493 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.1395, allocations: 32 kB / 0.493 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1396, allocations: 79.75 kB / 0.4931 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.1397, allocations: 187 kB / 0.4933 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1402, allocations: 422.4 kB / 0.4937 GB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1402, allocations: 0 / 0.4937 GB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1402, allocations: 0 / 0.4937 GB, free: 6.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.1402, allocations: 0 / 0.4937 GB, free: 6.516 MB / 382.1 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.001325/0.1415, allocations: 0.663 MB / 0.4943 GB, free: 5.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1416, allocations: 11.89 kB / 0.4944 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.956e-05/0.1417, allocations: 40.47 kB / 0.4944 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1421, allocations: 276.6 kB / 0.4947 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1422, allocations: 29.38 kB / 0.4947 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.1422, allocations: 28.38 kB / 0.4947 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.143, allocations: 362.2 kB / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.143, allocations: 3.938 kB / 0.4951 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.143, allocations: 19.92 kB / 0.4951 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.143, allocations: 8 kB / 0.4951 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.1437, allocations: 263.8 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.1459, allocations: 1.334 MB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.1465, allocations: 198.5 kB / 0.4968 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.1467, allocations: 79.52 kB / 0.4969 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.1468, allocations: 8 kB / 0.4969 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1468, allocations: 38.44 kB / 0.497 GB, free: 2.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.1468, allocations: 0 / 0.497 GB, free: 2.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008165/0.1476, allocations: 253.5 kB / 0.4972 GB, free: 2.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1477, allocations: 132.5 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.1481, allocations: 328.4 kB / 0.4976 GB, free: 2.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1481, allocations: 29.7 kB / 0.4977 GB, free: 2.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1482, allocations: 239.8 kB / 0.4979 GB, free: 1.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.1483, allocations: 55.25 kB / 0.4979 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.1485, allocations: 53.89 kB / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1487, allocations: 346.8 kB / 0.4983 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.1489, allocations: 76.56 kB / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.1494, allocations: 176.2 kB / 0.4986 GB, free: 1.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.15, allocations: 246.9 kB / 0.4988 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.15, allocations: 0 / 0.4988 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007224/0.1507, allocations: 305.4 kB / 0.4991 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1507, allocations: 11.98 kB / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1507, allocations: 0 / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1508, allocations: 4 kB / 0.4991 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.1512, allocations: 91.88 kB / 0.4992 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1512, allocations: 7.984 kB / 0.4992 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.1515, allocations: 51.5 kB / 0.4993 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1515, allocations: 12.06 kB / 0.4993 GB, free: 400 kB / 382.1 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.0001475/0.1517, allocations: 153.7 kB / 0.4994 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1518, allocations: 31.62 kB / 0.4994 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.1519, allocations: 38.39 kB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1519, allocations: 0 / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1519, allocations: 4 kB / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1519, allocations: 0 / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.1527, allocations: 0.5914 MB / 0.5001 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.1528, allocations: 4 kB / 0.5001 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.1531, allocations: 59.88 kB / 0.5001 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1531, allocations: 4 kB / 0.5001 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1531, allocations: 12.09 kB / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1531, allocations: 0 / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.1531, allocations: 4 kB / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.1538, allocations: 402.5 kB / 0.5005 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.1539, allocations: 112.7 kB / 0.5006 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.1539, allocations: 3.938 kB / 0.5006 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1542, allocations: 19.97 kB / 0.5007 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.1542, allocations: 23.92 kB / 0.5007 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.1543, allocations: 4 kB / 0.5007 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.1546, allocations: 227.1 kB / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1546, allocations: 0 / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.155, allocations: 67.84 kB / 0.501 GB, free: 14.52 MB / 398.1 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.000103/0.1552, allocations: 95.25 kB / 0.5011 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.1558, allocations: 199.6 kB / 0.5012 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1558, allocations: 0 / 0.5012 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.156, allocations: 84.64 kB / 0.5013 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1565, allocations: 32.5 kB / 0.5014 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1575, allocations: 0.5707 MB / 0.5019 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.158, allocations: 0.7753 MB / 0.5027 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.1582, allocations: 19.44 kB / 0.5027 GB, free: 12.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1582, allocations: 0 / 0.5027 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Templates: time 0.006127/0.1643, allocations: 3.147 MB / 0.5058 GB, free: 9.523 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches