Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.2 MB / 255.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2338/0.2338, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 75.88 kB / 0.4923 GB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 65.99 MB / 0.5568 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004233/0.1368, allocations: 2.692 MB / 0.5594 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1382, allocations: 0.7983 MB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1384, allocations: 4 kB / 0.5602 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1386, allocations: 71.36 kB / 0.5603 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1389, allocations: 107.1 kB / 0.5604 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1391, allocations: 111.8 kB / 0.5605 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.1396, allocations: 429.5 kB / 0.5609 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1398, allocations: 99.3 kB / 0.561 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.14, allocations: 151.4 kB / 0.5611 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1402, allocations: 167.2 kB / 0.5613 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.1403, allocations: 36 kB / 0.5613 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.507e-05/0.1403, allocations: 32 kB / 0.5613 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.1404, allocations: 75.7 kB / 0.5614 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1406, allocations: 195 kB / 0.5616 GB, free: 1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.1411, allocations: 426.1 kB / 0.562 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1411, allocations: 4 kB / 0.562 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1411, allocations: 0 / 0.562 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1411, allocations: 0 / 0.562 GB, free: 0.5781 MB / 414.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.001174/0.1423, allocations: 0.6819 MB / 0.5627 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1423, allocations: 8.031 kB / 0.5627 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.1424, allocations: 44.64 kB / 0.5627 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.1428, allocations: 286.7 kB / 0.563 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.1428, allocations: 25.38 kB / 0.563 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.1429, allocations: 32.38 kB / 0.5631 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.1436, allocations: 366.2 kB / 0.5634 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1436, allocations: 0 / 0.5634 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.1436, allocations: 16 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1436, allocations: 8 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.1443, allocations: 266 kB / 0.5637 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.1464, allocations: 1.343 MB / 0.565 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.147, allocations: 186.6 kB / 0.5652 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.1472, allocations: 83.56 kB / 0.5653 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1472, allocations: 4 kB / 0.5653 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1472, allocations: 50.48 kB / 0.5653 GB, free: 12.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.1472, allocations: 0 / 0.5653 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008261/0.1481, allocations: 249.2 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.1482, allocations: 132.5 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.1485, allocations: 341.6 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1486, allocations: 29.7 kB / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1487, allocations: 248.3 kB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.1488, allocations: 59.52 kB / 0.5663 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.1489, allocations: 53.94 kB / 0.5664 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1491, allocations: 346.8 kB / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1493, allocations: 72.5 kB / 0.5668 GB, free: 11.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.1496, allocations: 176.1 kB / 0.5669 GB, free: 11.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.1501, allocations: 255.1 kB / 0.5672 GB, free: 10.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1501, allocations: 3.938 kB / 0.5672 GB, free: 10.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006792/0.1508, allocations: 313.2 kB / 0.5675 GB, free: 10.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1508, allocations: 5.875 kB / 0.5675 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1508, allocations: 4 kB / 0.5675 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1509, allocations: 4 kB / 0.5675 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.1513, allocations: 95.81 kB / 0.5676 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1513, allocations: 7.984 kB / 0.5676 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1516, allocations: 47.66 kB / 0.5676 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.1516, allocations: 16.22 kB / 0.5677 GB, free: 10.38 MB / 430.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.0001659/0.1518, allocations: 153.7 kB / 0.5678 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.1519, allocations: 31.81 kB / 0.5678 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.1519, allocations: 34.39 kB / 0.5679 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1519, allocations: 4 kB / 0.5679 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.1519, allocations: 0 / 0.5679 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1519, allocations: 0 / 0.5679 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.1528, allocations: 0.5959 MB / 0.5685 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1528, allocations: 0 / 0.5685 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1531, allocations: 55.94 kB / 0.5685 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1531, allocations: 8 kB / 0.5685 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1531, allocations: 12.09 kB / 0.5685 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1531, allocations: 4 kB / 0.5685 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.1531, allocations: 7.922 kB / 0.5685 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.1537, allocations: 398.8 kB / 0.5689 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.1538, allocations: 108.8 kB / 0.569 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.1538, allocations: 11.94 kB / 0.569 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.154, allocations: 11.98 kB / 0.569 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.1541, allocations: 23.92 kB / 0.5691 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1541, allocations: 4 kB / 0.5691 GB, free: 8.801 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.1544, allocations: 243.2 kB / 0.5693 GB, free: 8.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1544, allocations: 0 / 0.5693 GB, free: 8.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.1548, allocations: 67.89 kB / 0.5694 GB, free: 8.5 MB / 430.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.0001186/0.1549, allocations: 95.25 kB / 0.5695 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.1555, allocations: 191.6 kB / 0.5696 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1555, allocations: 4 kB / 0.5696 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.1557, allocations: 76.69 kB / 0.5697 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1561, allocations: 33.38 kB / 0.5697 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1572, allocations: 0.5953 MB / 0.5703 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1576, allocations: 0.7753 MB / 0.5711 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.1577, allocations: 23.38 kB / 0.5711 GB, free: 6.625 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1577, allocations: 3.938 kB / 0.5711 GB, free: 6.621 MB / 430.1 MB Notification: Performance of Templates: time 0.00556/0.1633, allocations: 3.223 MB / 0.5743 GB, free: 3.395 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.446331871906295]