Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 114.8 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 204 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2268, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004899/0.2318, allocations: 3.952 MB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.2344, allocations: 1.627 MB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.2348, allocations: 12 kB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.2366, allocations: 0.7736 MB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009264/0.2375, allocations: 385.9 kB / 416.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2388, allocations: 0.6691 MB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.2393, allocations: 0.5253 MB / 417.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006821/0.24, allocations: 0.4998 MB / 418.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.2403, allocations: 239 kB / 418.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.2407, allocations: 294.8 kB / 418.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.2407, allocations: 52 kB / 418.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.2412, allocations: 251.8 kB / 419.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.2413, allocations: 123.6 kB / 419.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.2415, allocations: 262.7 kB / 419.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008922/0.2424, allocations: 0.8056 MB / 420.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2424, allocations: 0 / 420.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2424, allocations: 0 / 420.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2424, allocations: 4 kB / 420.4 MB, free: 7.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001982/0.2444, allocations: 0.9742 MB / 421.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2444, allocations: 8.031 kB / 421.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.2473, allocations: 416.2 kB / 421.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.2479, allocations: 356.7 kB / 422.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.2479, allocations: 49.62 kB / 422.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.248, allocations: 63.94 kB / 422.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.2491, allocations: 0.6237 MB / 422.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.2491, allocations: 4 kB / 422.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.2492, allocations: 27.94 kB / 422.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2492, allocations: 12 kB / 422.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2503, allocations: 0.5751 MB / 423.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.2532, allocations: 2.245 MB / 425.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.2547, allocations: 1.18 MB / 426.9 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.2551, allocations: 193.2 kB / 427.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.2553, allocations: 174.2 kB / 427.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2553, allocations: 34.56 kB / 427.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.2553, allocations: 0 / 427.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00159/0.2569, allocations: 0.6903 MB / 428 MB, free: 14.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2569, allocations: 59.39 kB / 428 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.2572, allocations: 270.5 kB / 428.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.2572, allocations: 37.64 kB / 428.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.2574, allocations: 252.9 kB / 428.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2575, allocations: 158.6 kB / 428.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.2576, allocations: 82.25 kB / 428.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2578, allocations: 346.8 kB / 429.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.2581, allocations: 159 kB / 429.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.2585, allocations: 249.9 kB / 429.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.2592, allocations: 437.7 kB / 430 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2593, allocations: 4 kB / 430 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001012/0.2603, allocations: 0.5221 MB / 430.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2603, allocations: 10.97 kB / 430.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2603, allocations: 4 kB / 430.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.2606, allocations: 52.83 kB / 430.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.261, allocations: 103.9 kB / 430.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.2624, allocations: 1.763 MB / 432.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.2627, allocations: 55.56 kB / 432.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2628, allocations: 23.98 kB / 432.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003977/0.2632, allocations: 273.1 kB / 432.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003472/0.2635, allocations: 249.6 kB / 433 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006563/0.2642, allocations: 419.7 kB / 433.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.2642, allocations: 0 / 433.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000937/0.2652, allocations: 0.5051 MB / 433.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2652, allocations: 11.94 kB / 434 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2652, allocations: 7.984 kB / 434 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.2654, allocations: 61.23 kB / 434 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.2658, allocations: 99.89 kB / 434.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.2671, allocations: 1.763 MB / 435.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.2674, allocations: 39.78 kB / 435.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.2675, allocations: 19.98 kB / 435.9 MB, free: 6.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.2676, allocations: 200.2 kB / 436.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.2677, allocations: 39.83 kB / 436.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.2688, allocations: 0.5083 MB / 436.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.2688, allocations: 3.984 kB / 436.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2688, allocations: 0 / 436.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.269, allocations: 140.8 kB / 436.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.269, allocations: 15.94 kB / 436.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.2693, allocations: 23.92 kB / 436.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.2694, allocations: 32.33 kB / 436.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0012/0.2706, allocations: 0.5279 MB / 437.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001189/0.2718, allocations: 0.7321 MB / 438.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003298/0.2721, allocations: 175.3 kB / 438.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2723, allocations: 190 kB / 438.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2723, allocations: 0 / 438.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.2741, allocations: 0.9261 MB / 439.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of SimCode: time 0.001438/0.2756, allocations: 1.259 MB / 440.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Templates: time 0.01457/0.2902, allocations: 8.544 MB / 449.2 MB, free: 9.051 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches