Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 210.5 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.2 MB / 256.7 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.9 MB / 359.9 MB, free: 4.973 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003585/0.003585, allocations: 83.86 kB / 0.495 GB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.341, allocations: 65.99 MB / 0.5594 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004379/0.3454, allocations: 2.691 MB / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3472, allocations: 0.7864 MB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3474, allocations: 11.94 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3477, allocations: 75.36 kB / 0.5629 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.348, allocations: 107.2 kB / 0.563 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3483, allocations: 107.9 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.3488, allocations: 430.2 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.3491, allocations: 103.2 kB / 0.5636 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.3493, allocations: 147.5 kB / 0.5637 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3495, allocations: 171.2 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.3496, allocations: 36 kB / 0.5639 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.3496, allocations: 36 kB / 0.564 GB, free: 460 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.3497, allocations: 75.69 kB / 0.5641 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3499, allocations: 183 kB / 0.5642 GB, free: 200 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.3504, allocations: 428.7 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3504, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3504, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3504, allocations: 3.938 kB / 0.5646 GB, free: 15.78 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.001122/0.3515, allocations: 0.6819 MB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3516, allocations: 9.469 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/0.3517, allocations: 40.7 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.3521, allocations: 290.6 kB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3521, allocations: 25.38 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.3521, allocations: 40.38 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.3528, allocations: 362.2 kB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3528, allocations: 0 / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.3529, allocations: 16 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3529, allocations: 11.94 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.3535, allocations: 263.4 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.3557, allocations: 1.339 MB / 0.5676 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.3563, allocations: 190.5 kB / 0.5678 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3565, allocations: 75.56 kB / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.3565, allocations: 11.98 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3565, allocations: 38.55 kB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.3565, allocations: 0 / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007927/0.3573, allocations: 257.2 kB / 0.5682 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.3574, allocations: 140.6 kB / 0.5683 GB, free: 11.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.3578, allocations: 341.6 kB / 0.5686 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3578, allocations: 25.7 kB / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.358, allocations: 248.1 kB / 0.5689 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.3581, allocations: 51.59 kB / 0.5689 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.3582, allocations: 57.94 kB / 0.569 GB, free: 11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3583, allocations: 342.7 kB / 0.5693 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.3586, allocations: 80.52 kB / 0.5694 GB, free: 10.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3589, allocations: 173 kB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.3594, allocations: 255.4 kB / 0.5698 GB, free: 10.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3594, allocations: 4 kB / 0.5698 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006563/0.3601, allocations: 313.1 kB / 0.5701 GB, free: 9.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3601, allocations: 4 kB / 0.5701 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3601, allocations: 7.938 kB / 0.5701 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3601, allocations: 4 kB / 0.5701 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.3605, allocations: 96.05 kB / 0.5702 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3605, allocations: 7.938 kB / 0.5702 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.3608, allocations: 51.66 kB / 0.5703 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.3608, allocations: 12 kB / 0.5703 GB, free: 9.582 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.0001568/0.361, allocations: 149.7 kB / 0.5704 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/0.3611, allocations: 31.8 kB / 0.5705 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.331e-05/0.3611, allocations: 38.41 kB / 0.5705 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3611, allocations: 4 kB / 0.5705 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3611, allocations: 4 kB / 0.5705 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3612, allocations: 0 / 0.5705 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.362, allocations: 0.5876 MB / 0.5711 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.362, allocations: 160 / 0.5711 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.3623, allocations: 67.88 kB / 0.5711 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3623, allocations: 0 / 0.5711 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.3623, allocations: 7.938 kB / 0.5711 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3623, allocations: 4 kB / 0.5712 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3623, allocations: 0 / 0.5712 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.363, allocations: 401.3 kB / 0.5715 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.3631, allocations: 116.8 kB / 0.5716 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3631, allocations: 7.938 kB / 0.5717 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3633, allocations: 15.98 kB / 0.5717 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.3634, allocations: 15.98 kB / 0.5717 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3634, allocations: 4 kB / 0.5717 GB, free: 8.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.3637, allocations: 235.2 kB / 0.5719 GB, free: 7.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3637, allocations: 0 / 0.5719 GB, free: 7.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.3641, allocations: 75.83 kB / 0.572 GB, free: 7.711 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.0001154/0.3642, allocations: 99.25 kB / 0.5721 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005425/0.3647, allocations: 184 kB / 0.5723 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3647, allocations: 0.5 kB / 0.5723 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3649, allocations: 88.12 kB / 0.5723 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3653, allocations: 28 kB / 0.5724 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3664, allocations: 0.5939 MB / 0.5729 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3669, allocations: 0.7753 MB / 0.5737 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.367, allocations: 27.44 kB / 0.5737 GB, free: 5.836 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.367, allocations: 0 / 0.5737 GB, free: 5.836 MB / 414.1 MB Notification: Performance of Templates: time 0.005749/0.3727, allocations: 3.24 MB / 0.5769 GB, free: 2.59 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches