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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00241/0.00241, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002846/0.002846, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.641/1.641, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3703/0.3703, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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 1.132e-06/1.132e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.785e-05, allocations: 7.297 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004608/0.004636, allocations: 2.668 MB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.006336, allocations: 0.7749 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.0065, allocations: 12 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.00676, allocations: 67.31 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.007036, allocations: 107.1 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.007327, allocations: 115.8 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.00796, allocations: 430.3 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.008181, allocations: 99.83 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.0085, allocations: 227.5 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.008707, allocations: 127.6 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.008776, allocations: 32 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.244e-05/0.008839, allocations: 32 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.008932, allocations: 87.66 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.009081, allocations: 123.6 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.009629, allocations: 430.6 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.009639, allocations: 0 / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00964, allocations: 3.938 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.009649, allocations: 4 kB / 382.5 MB, free: 13.6 MB / 362.7 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.001198/0.01085, allocations: 0.7179 MB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01088, allocations: 8.031 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.01101, allocations: 72.66 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.01138, allocations: 227.4 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.01141, allocations: 25.38 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.01146, allocations: 32.38 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.01214, allocations: 370.2 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.01216, allocations: 4 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.01219, allocations: 12 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.0122, allocations: 8 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.01275, allocations: 235.8 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.01502, allocations: 1.434 MB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.01555, allocations: 212.6 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.01573, allocations: 74.86 kB / 385.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.01577, allocations: 7.938 kB / 385.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.01581, allocations: 45.31 kB / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.01581, allocations: 4 kB / 385.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006843/0.01649, allocations: 217.3 kB / 386.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.01659, allocations: 132.5 kB / 386.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.01704, allocations: 390.2 kB / 386.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.01707, allocations: 33.7 kB / 386.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.01732, allocations: 314.7 kB / 387 MB, free: 8.766 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.01738, allocations: 51.59 kB / 387.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.0175, allocations: 67.59 kB / 387.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/0.01779, allocations: 0.5237 MB / 387.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.01797, allocations: 64.53 kB / 387.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.01826, allocations: 208.9 kB / 387.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.01887, allocations: 276.2 kB / 388.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.01887, allocations: 0 / 388.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000589/0.01946, allocations: 301.3 kB / 388.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01948, allocations: 4 kB / 388.5 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01949, allocations: 8.25 kB / 388.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.01951, allocations: 4 kB / 388.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.01986, allocations: 75.89 kB / 388.6 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.01987, allocations: 7.938 kB / 388.6 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.0201, allocations: 39.72 kB / 388.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.02012, allocations: 12 kB / 388.6 MB, free: 7.008 MB / 362.7 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.0001872/0.02031, allocations: 196.5 kB / 388.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.02043, allocations: 39.78 kB / 388.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.0205, allocations: 33.58 kB / 388.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.02051, allocations: 4 kB / 388.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.02051, allocations: 0 / 388.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.02051, allocations: 0 / 388.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.02145, allocations: 0.655 MB / 389.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02145, allocations: 0 / 389.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.02167, allocations: 47.91 kB / 389.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.02167, allocations: 4 kB / 389.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.02169, allocations: 4.156 kB / 389.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.02169, allocations: 4 kB / 389.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.0217, allocations: 4 kB / 389.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.02226, allocations: 481.2 kB / 390.1 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.02233, allocations: 31.8 kB / 390.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.02236, allocations: 4 kB / 390.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.02255, allocations: 11.98 kB / 390.1 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.02262, allocations: 19.92 kB / 390.2 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.02263, allocations: 8 kB / 390.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.02288, allocations: 255 kB / 390.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02288, allocations: 4 kB / 390.4 MB, free: 5.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.02328, allocations: 75.78 kB / 390.5 MB, free: 5.039 MB / 362.7 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.0001191/0.0234, allocations: 103.2 kB / 390.6 MB, free: 4.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.02385, allocations: 183.9 kB / 390.8 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02385, allocations: 8 kB / 390.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.02403, allocations: 79.53 kB / 390.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.02442, allocations: 23.45 kB / 390.9 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.02551, allocations: 0.5849 MB / 391.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.02572, allocations: 172.5 kB / 391.6 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.975e-05/0.02581, allocations: 17.86 kB / 391.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.02587, allocations: 16.5 kB / 391.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02587, allocations: 4 kB / 391.7 MB, free: 3.766 MB / 362.7 MB Notification: Performance of Templates: time 0.005425/0.0313, allocations: 1.527 MB / 393.2 MB, free: 2.246 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.080864220042713]