Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008175/0.0008176, allocations: 92.83 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009822/0.0009822, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001842/0.0001842, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.07912, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003118/0.08227, allocations: 3.317 MB / 362.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.08407, allocations: 1.456 MB / 364.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.0842, allocations: 8 kB / 364.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.08456, allocations: 163.4 kB / 364.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.08526, allocations: 350.4 kB / 364.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.0861, allocations: 0.5209 MB / 365.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.08647, allocations: 434.1 kB / 365.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.08754, allocations: 0.7157 MB / 366.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.08777, allocations: 187.1 kB / 366.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.08801, allocations: 235 kB / 366.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.08805, allocations: 20 kB / 366.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.08834, allocations: 183.8 kB / 366.9 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.08841, allocations: 79.62 kB / 367 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.08857, allocations: 240.4 kB / 367.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.08913, allocations: 0.6462 MB / 367.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.08914, allocations: 0 / 367.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08915, allocations: 3.938 kB / 367.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.08916, allocations: 4 kB / 367.9 MB, free: 4.609 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0017/0.09087, allocations: 0.8156 MB / 368.7 MB, free: 3.746 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.09091, allocations: 12.03 kB / 368.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.09103, allocations: 103.9 kB / 368.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.09432, allocations: 0.496 MB / 369.3 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.09463, allocations: 303 kB / 369.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.09466, allocations: 37.69 kB / 369.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.09474, allocations: 52.38 kB / 369.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.09558, allocations: 0.5218 MB / 370.2 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.09561, allocations: 0 / 370.2 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.09567, allocations: 32 kB / 370.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.09568, allocations: 12 kB / 370.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009346/0.09662, allocations: 0.579 MB / 370.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/0.2364, allocations: 1.961 MB / 372.8 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.238, allocations: 2.186 MB / 375 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.2384, allocations: 218.2 kB / 375.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-05/0.2385, allocations: 172.6 kB / 375.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2385, allocations: 37.91 kB / 375.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.2385, allocations: 1.656 kB / 375.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001866/0.2404, allocations: 0.8127 MB / 376.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.2404, allocations: 63.05 kB / 376.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2406, allocations: 191.5 kB / 376.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2406, allocations: 34.7 kB / 376.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.2407, allocations: 218.3 kB / 376.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/0.2408, allocations: 160.1 kB / 376.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.2409, allocations: 42.31 kB / 376.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.2409, allocations: 337 kB / 377.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.2412, allocations: 158.9 kB / 377.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.2416, allocations: 229.8 kB / 377.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.2422, allocations: 412.1 kB / 378 MB, free: 14.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2422, allocations: 1.375 kB / 378 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000918/0.2431, allocations: 0.5481 MB / 378.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2431, allocations: 12 kB / 378.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2431, allocations: 1.375 kB / 378.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.2434, allocations: 87.67 kB / 378.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.2438, allocations: 99.3 kB / 378.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.2452, allocations: 1.854 MB / 380.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.2455, allocations: 48.86 kB / 380.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.2455, allocations: 20.22 kB / 380.7 MB, free: 12.94 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.2457, allocations: 173.1 kB / 380.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.2457, allocations: 24.52 kB / 380.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.2467, allocations: 0.5599 MB / 381.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2467, allocations: 5.5 kB / 381.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2467, allocations: 2.781 kB / 381.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2467, allocations: 2.906 kB / 381.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.2482, allocations: 1.136 MB / 382.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2482, allocations: 1.859 kB / 382.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.2485, allocations: 81.98 kB / 382.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.2487, allocations: 85.19 kB / 382.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2488, allocations: 12.52 kB / 382.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.2501, allocations: 1.857 MB / 384.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2501, allocations: 1 kB / 384.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.2512, allocations: 0.8037 MB / 385.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.2513, allocations: 110.9 kB / 385.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.2513, allocations: 7.406 kB / 385.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2515, allocations: 26.16 kB / 385.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.2516, allocations: 36.94 kB / 385.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.2516, allocations: 15.72 kB / 385.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.293e-05/0.2517, allocations: 132.1 kB / 385.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2517, allocations: 0 / 385.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.2522, allocations: 153.7 kB / 385.9 MB, free: 9.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.2537, allocations: 1.385 MB / 387.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009195/0.2546, allocations: 0.5817 MB / 387.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2546, allocations: 0 / 387.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.2551, allocations: 388.9 kB / 388.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.2554, allocations: 30.86 kB / 388.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.2592, allocations: 3.663 MB / 391.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.2595, allocations: 0.8065 MB / 392.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.2597, allocations: 49.75 kB / 392.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2598, allocations: 133.6 kB / 392.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2598, allocations: 0 / 392.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.849/2.109, allocations: 7.038 MB / 400 MB, free: 2.711 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/2.109, allocations: 255 kB / 400.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/4.038, allocations: 4 kB / 400.2 MB, free: 2.445 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches