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.0009934/0.0009934, allocations: 96.05 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 173 kB / 16.56 MB, free: 6.375 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.399/1.399, allocations: 205.4 MB / 222.7 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3493/0.3493, allocations: 43.54 MB / 314.5 MB, free: 8.633 MB / 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.0005904/0.0005908, allocations: 16 kB / 383.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 58.85 MB / 442.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002779/0.1295, allocations: 2.086 MB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.131, allocations: 0.7534 MB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.1313, allocations: 8 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.1315, allocations: 51.62 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1319, allocations: 91.78 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1322, allocations: 87.78 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.1327, allocations: 275.4 kB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.1329, allocations: 115.2 kB / 446.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.1332, allocations: 127.5 kB / 446.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1334, allocations: 147.2 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.819e-05/0.1335, allocations: 20 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.1336, allocations: 19.94 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.1336, allocations: 55.77 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.1337, allocations: 89.52 kB / 446.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.134, allocations: 299.1 kB / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.134, allocations: 0 / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.134, allocations: 3.984 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.134, allocations: 4 kB / 446.9 MB, free: 8.871 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.0009566/0.135, allocations: 0.6083 MB / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.135, allocations: 12.03 kB / 447.6 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.1351, allocations: 51.38 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1354, allocations: 263.3 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1355, allocations: 25 kB / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1355, allocations: 32 kB / 447.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.1362, allocations: 366.6 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1362, allocations: 4 kB / 448.3 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.1362, allocations: 11.95 kB / 448.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1362, allocations: 12 kB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.1369, allocations: 284.9 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.1388, allocations: 1.367 MB / 450 MB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.1393, allocations: 202.6 kB / 450.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.979e-05/0.1393, allocations: 4 kB / 450.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1394, allocations: 38.62 kB / 450.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.1394, allocations: 7.984 kB / 450.2 MB, free: 5.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000827/0.1402, allocations: 285.2 kB / 450.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.1403, allocations: 128.5 kB / 450.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.1406, allocations: 328.4 kB / 450.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1407, allocations: 29.73 kB / 451 MB, free: 4.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1408, allocations: 239.7 kB / 451.2 MB, free: 4.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.1409, allocations: 51.2 kB / 451.2 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.1409, allocations: 8 kB / 451.2 MB, free: 4.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.141, allocations: 342.8 kB / 451.6 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1413, allocations: 88.52 kB / 451.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1416, allocations: 176.2 kB / 451.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.1418, allocations: 115.9 kB / 452 MB, free: 3.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1418, allocations: 4 kB / 452 MB, free: 3.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006353/0.1425, allocations: 317.2 kB / 452.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1425, allocations: 15.95 kB / 452.3 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1425, allocations: 4 kB / 452.3 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1426, allocations: 4 kB / 452.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.143, allocations: 103.9 kB / 452.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.143, allocations: 11.98 kB / 452.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1433, allocations: 47.58 kB / 452.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1433, allocations: 19.94 kB / 452.5 MB, free: 2.984 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.1435, allocations: 153.7 kB / 452.6 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.1436, allocations: 27.72 kB / 452.6 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.55e-05/0.1436, allocations: 34.39 kB / 452.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1437, allocations: 8 kB / 452.7 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1437, allocations: 0 / 452.7 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1437, allocations: 0 / 452.7 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.1445, allocations: 0.5914 MB / 453.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1445, allocations: 160 / 453.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.1448, allocations: 79.81 kB / 453.4 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1448, allocations: 0 / 453.4 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1449, allocations: 4 kB / 453.4 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1449, allocations: 4 kB / 453.4 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1449, allocations: 8.516 kB / 453.4 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.1456, allocations: 492.8 kB / 453.9 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.1457, allocations: 108.8 kB / 454 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.1457, allocations: 7.984 kB / 454 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1459, allocations: 27.98 kB / 454 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.146, allocations: 15.88 kB / 454 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.146, allocations: 8 kB / 454 MB, free: 1.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1462, allocations: 223.1 kB / 454.2 MB, free: 1.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1463, allocations: 0 / 454.2 MB, free: 1.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004023/0.1467, allocations: 75.75 kB / 454.3 MB, free: 0.9688 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.1468, allocations: 95.23 kB / 454.4 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.1473, allocations: 216.1 kB / 454.6 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1473, allocations: 0 / 454.6 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.1476, allocations: 88.27 kB / 454.7 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1479, allocations: 29.42 kB / 454.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1905/0.3384, allocations: 0.6518 MB / 455.4 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3387, allocations: 0.7805 MB / 456.2 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.3389, allocations: 25.16 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.339, allocations: 18.12 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.339, allocations: 3.031 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of Templates: time 0.004752/0.3437, allocations: 1.559 MB / 457.8 MB, free: 45.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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