Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001894/0.001894, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002439/0.002439, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.488/1.488, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 378.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2271, allocations: 53.37 MB / 432.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008394/0.2355, allocations: 6.77 MB / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.2398, allocations: 2.487 MB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.2402, allocations: 23.94 kB / 441.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.2443, allocations: 1.894 MB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.2457, allocations: 0.5433 MB / 443.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.2482, allocations: 1.342 MB / 445.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2495, allocations: 1.12 MB / 446.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2506, allocations: 0.7109 MB / 447 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.2512, allocations: 0.4904 MB / 447.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.2519, allocations: 0.6264 MB / 448.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.2521, allocations: 100 kB / 448.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008618/0.2529, allocations: 439.7 kB / 448.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.2531, allocations: 247.1 kB / 448.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.2537, allocations: 0.5597 MB / 449.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.2556, allocations: 1.673 MB / 451.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2556, allocations: 0 / 451.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2556, allocations: 0 / 451.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.2556, allocations: 4 kB / 451.2 MB, free: 3.969 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006473/0.2621, allocations: 1.98 MB / 453.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2621, allocations: 12.03 kB / 453.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.2657, allocations: 495.8 kB / 453.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.266, allocations: 252.8 kB / 453.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.221e-05/0.2661, allocations: 98.95 kB / 454 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.2663, allocations: 128.3 kB / 454.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.2688, allocations: 1.307 MB / 455.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.2689, allocations: 4 kB / 455.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.269, allocations: 52 kB / 455.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.269, allocations: 35.94 kB / 455.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.2716, allocations: 1.181 MB / 456.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007069/0.2787, allocations: 4.036 MB / 460.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.281, allocations: 1.152 MB / 461.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.2819, allocations: 456 kB / 462.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.282, allocations: 44.94 kB / 462.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2821, allocations: 43.56 kB / 462.4 MB, free: 8.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.825e-06/0.2821, allocations: 4 kB / 462.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01105/0.2931, allocations: 3.537 MB / 465.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.2932, allocations: 94.11 kB / 466 MB, free: 4.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.2937, allocations: 393.5 kB / 466.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.2937, allocations: 45.7 kB / 466.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.294, allocations: 468.6 kB / 466.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.2944, allocations: 452.1 kB / 467.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.2948, allocations: 227.5 kB / 467.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.295, allocations: 378.8 kB / 468 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.2961, allocations: 431.8 kB / 468.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.2974, allocations: 0.6879 MB / 469.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.2999, allocations: 1.179 MB / 470.2 MB, free: 332 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2999, allocations: 4 kB / 470.2 MB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003335/0.3032, allocations: 1.467 MB / 471.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3033, allocations: 11.98 kB / 471.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.3033, allocations: 12 kB / 471.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.3039, allocations: 201.5 kB / 471.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.3052, allocations: 279.6 kB / 472.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/0.3099, allocations: 4.165 MB / 476.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.3109, allocations: 83.83 kB / 476.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/0.311, allocations: 56.05 kB / 476.5 MB, free: 9.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004381/0.3114, allocations: 261.5 kB / 476.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.3116, allocations: 75.52 kB / 476.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.3148, allocations: 1.323 MB / 478.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3148, allocations: 16 kB / 478.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3148, allocations: 7.938 kB / 478.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3148, allocations: 3.984 kB / 478.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.3198, allocations: 2.562 MB / 480.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.3198, allocations: 7.938 kB / 480.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.3208, allocations: 215.9 kB / 481 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.3213, allocations: 169.5 kB / 481.1 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.3213, allocations: 27.98 kB / 481.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/0.3255, allocations: 3.973 MB / 485.1 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3255, allocations: 3.938 kB / 485.1 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/0.3296, allocations: 1.865 MB / 487 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.33, allocations: 159.4 kB / 487.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.3301, allocations: 20 kB / 487.2 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.3308, allocations: 55.95 kB / 487.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.331, allocations: 96.88 kB / 487.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/0.3311, allocations: 39.98 kB / 487.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003299/0.3314, allocations: 267.2 kB / 487.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3314, allocations: 0 / 487.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001166/0.3326, allocations: 307.9 kB / 487.9 MB, free: 14.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003253/0.3329, allocations: 183 kB / 488.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.336, allocations: 1.391 MB / 489.5 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.336, allocations: 192 / 489.5 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.3376, allocations: 0.8159 MB / 490.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.3381, allocations: 69.44 kB / 490.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.3423, allocations: 1.894 MB / 492.3 MB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007077/0.343, allocations: 1.009 MB / 493.3 MB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005883/0.3436, allocations: 138.6 kB / 493.4 MB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.3439, allocations: 75.41 kB / 493.5 MB, free: 8.305 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3439, allocations: 0 / 493.5 MB, free: 8.305 MB / 398.1 MB Notification: Performance of Templates: time 0.02279/0.3666, allocations: 11.38 MB / 0.493 GB, free: 12.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.0393941681832075]