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.001556/0.001556, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002/0.002, allocations: 156.9 kB / 24.27 MB, free: 172 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.529/1.529, allocations: 177 MB / 204.4 MB, free: 5.629 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.3906/0.3906, allocations: 34.25 MB / 295.2 MB, free: 0.6602 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.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.988e-05, allocations: 6.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004229/0.004258, allocations: 2.512 MB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.005803, allocations: 0.7554 MB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.005925, allocations: 7.938 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.006156, allocations: 71.31 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.006433, allocations: 107.1 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.006715, allocations: 123.8 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.007195, allocations: 422.3 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.007422, allocations: 103.8 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.007723, allocations: 223.5 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.007902, allocations: 123.6 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.007965, allocations: 35.98 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.008023, allocations: 32 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.008103, allocations: 79.67 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.008248, allocations: 119.7 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.008768, allocations: 442.5 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.008771, allocations: 0 / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.008771, allocations: 0 / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.008777, allocations: 0 / 382.3 MB, free: 13.78 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.001121/0.009898, allocations: 0.6027 MB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.009932, allocations: 12.03 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.01006, allocations: 72.66 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.01042, allocations: 220.6 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.01045, allocations: 29.38 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.0105, allocations: 28.38 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.01126, allocations: 363 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.01128, allocations: 7.938 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.01131, allocations: 8 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.01132, allocations: 16 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.012, allocations: 255.8 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.01416, allocations: 1.185 MB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.01469, allocations: 190.5 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.01492, allocations: 75.56 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.01495, allocations: 7.938 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.01499, allocations: 46.48 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/0.01499, allocations: 4 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008528/0.01585, allocations: 241.4 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.01595, allocations: 136.5 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.01632, allocations: 292.4 kB / 386.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.01635, allocations: 29.7 kB / 386.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.01656, allocations: 248.1 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.01661, allocations: 63.52 kB / 386.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.01672, allocations: 57.94 kB / 386.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.01691, allocations: 334.8 kB / 386.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.01719, allocations: 84.44 kB / 386.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.01751, allocations: 168.2 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.01808, allocations: 255 kB / 387.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.01809, allocations: 4 kB / 387.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007232/0.01881, allocations: 313 kB / 387.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01883, allocations: 8 kB / 387.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01884, allocations: 0 / 387.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.01886, allocations: 8 kB / 387.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.01931, allocations: 96.67 kB / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01932, allocations: 4 kB / 387.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.01959, allocations: 47.7 kB / 387.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.01962, allocations: 12 kB / 387.8 MB, free: 7.973 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.0001773/0.01979, allocations: 153.7 kB / 387.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.0199, allocations: 31.8 kB / 387.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.382e-05/0.01998, allocations: 33.58 kB / 388 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.01999, allocations: 8 kB / 388 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01999, allocations: 4 kB / 388 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02, allocations: 3.984 kB / 388 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.0208, allocations: 0.4936 MB / 388.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.02081, allocations: 4 kB / 388.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.0211, allocations: 47.95 kB / 388.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.02111, allocations: 12.14 kB / 388.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.02113, allocations: 8 kB / 388.5 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.02113, allocations: 3.938 kB / 388.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.02114, allocations: 4 kB / 388.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.02175, allocations: 398.7 kB / 388.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.0218, allocations: 27.8 kB / 389 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.02185, allocations: 0 / 389 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.02208, allocations: 23.98 kB / 389 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.02215, allocations: 19.91 kB / 389 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.02216, allocations: 4 kB / 389 MB, free: 6.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.02239, allocations: 203.1 kB / 389.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02239, allocations: 0 / 389.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.02282, allocations: 75.78 kB / 389.3 MB, free: 6.336 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.0001293/0.02295, allocations: 103.1 kB / 389.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.02351, allocations: 191.6 kB / 389.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02351, allocations: 0 / 389.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.02374, allocations: 76.7 kB / 389.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.02418, allocations: 24.66 kB / 389.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.02523, allocations: 0.5508 MB / 390.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.02542, allocations: 164.5 kB / 390.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.02552, allocations: 29.89 kB / 390.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.02558, allocations: 16.5 kB / 390.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02558, allocations: 0 / 390.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of Templates: time 0.005309/0.03089, allocations: 1.523 MB / 392 MB, free: 3.609 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=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/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: 4.976302503957413]