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.001586/0.001586, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001846/0.001846, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.565/1.565, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2435/0.2435, allocations: 46.89 MB / 361.1 MB, free: 4.656 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.00362/0.00362, allocations: 79.88 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3786, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004497/0.3831, allocations: 2.737 MB / 0.5638 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3845, allocations: 0.7828 MB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3847, allocations: 7.938 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.385, allocations: 75.36 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3852, allocations: 107.2 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3856, allocations: 111.8 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.3861, allocations: 422.3 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.3863, allocations: 103.3 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3865, allocations: 151.4 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3867, allocations: 171.2 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.3867, allocations: 32 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.067e-05/0.3868, allocations: 36 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.3869, allocations: 71.7 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.3871, allocations: 191 kB / 0.566 GB, free: 40 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.3876, allocations: 429.1 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3876, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3876, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3876, allocations: 0 / 0.5664 GB, free: 15.62 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.001217/0.3888, allocations: 0.6858 MB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3889, allocations: 8.031 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.3889, allocations: 40.7 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.3893, allocations: 286.7 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3894, allocations: 29.36 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.3894, allocations: 32.38 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.3901, allocations: 366.2 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3902, allocations: 3.984 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3902, allocations: 12 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3902, allocations: 8 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.3909, allocations: 267.8 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.3931, allocations: 1.343 MB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.3937, allocations: 194.5 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.3939, allocations: 71.56 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.394, allocations: 11.92 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.394, allocations: 34.56 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/0.394, allocations: 4 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008611/0.3948, allocations: 253.6 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.3949, allocations: 136.5 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.3954, allocations: 345.7 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3954, allocations: 25.7 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3956, allocations: 240.2 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.3956, allocations: 63.5 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.3957, allocations: 57.94 kB / 0.5708 GB, free: 10.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3959, allocations: 338.8 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.3962, allocations: 80.5 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.3965, allocations: 172.1 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.397, allocations: 258.9 kB / 0.5716 GB, free: 9.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.397, allocations: 4 kB / 0.5716 GB, free: 9.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007066/0.3978, allocations: 305.1 kB / 0.5719 GB, free: 9.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3978, allocations: 4 kB / 0.5719 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3978, allocations: 4 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3978, allocations: 4 kB / 0.5719 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.3982, allocations: 91.86 kB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3982, allocations: 8.188 kB / 0.572 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3985, allocations: 55.64 kB / 0.5721 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3986, allocations: 15.94 kB / 0.5721 GB, free: 9.422 MB / 414.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.0001621/0.3987, allocations: 149.7 kB / 0.5722 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3988, allocations: 31.81 kB / 0.5722 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.3989, allocations: 30.41 kB / 0.5723 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3989, allocations: 4 kB / 0.5723 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3989, allocations: 3.984 kB / 0.5723 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3989, allocations: 0 / 0.5723 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.3998, allocations: 0.5992 MB / 0.5729 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3998, allocations: 0 / 0.5729 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.4001, allocations: 64.09 kB / 0.5729 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4001, allocations: 0 / 0.5729 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4001, allocations: 7.938 kB / 0.5729 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4001, allocations: 7.938 kB / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4001, allocations: 0 / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.4007, allocations: 398.7 kB / 0.5733 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4008, allocations: 108.9 kB / 0.5734 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.4009, allocations: 15.98 kB / 0.5734 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4011, allocations: 19.98 kB / 0.5735 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4012, allocations: 20.2 kB / 0.5735 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4012, allocations: 4 kB / 0.5735 GB, free: 7.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.4015, allocations: 239.2 kB / 0.5737 GB, free: 7.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4015, allocations: 0 / 0.5737 GB, free: 7.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.4019, allocations: 67.89 kB / 0.5738 GB, free: 7.543 MB / 414.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.000116/0.402, allocations: 99.19 kB / 0.5739 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.4026, allocations: 191.7 kB / 0.5741 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4026, allocations: 0 / 0.5741 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.4028, allocations: 80.7 kB / 0.5741 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.4032, allocations: 31.7 kB / 0.5742 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.4043, allocations: 0.5645 MB / 0.5747 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4047, allocations: 0.7753 MB / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.4048, allocations: 21.95 kB / 0.5755 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.4049, allocations: 19.44 kB / 0.5755 GB, free: 5.688 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4049, allocations: 0 / 0.5755 GB, free: 5.688 MB / 414.1 MB Notification: Performance of Templates: time 0.005678/0.4105, allocations: 1.953 MB / 0.5774 GB, free: 3.742 MB / 414.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 -s gbode -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: 5.294428204186261]