Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.001453/0.001453, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00163/0.00163, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 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.2222/0.2222, allocations: 46.93 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 75.88 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2996, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007769/0.3074, allocations: 6.604 MB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.3113, allocations: 2.278 MB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.3117, allocations: 23.94 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.3149, allocations: 1.532 MB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3165, allocations: 0.71 MB / 0.5724 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3178, allocations: 0.6008 MB / 0.573 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3192, allocations: 1.174 MB / 0.5741 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3204, allocations: 0.8636 MB / 0.575 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.3211, allocations: 0.5137 MB / 0.5755 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.3218, allocations: 0.6148 MB / 0.5761 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.322, allocations: 108 kB / 0.5762 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.3225, allocations: 291.8 kB / 0.5764 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.3227, allocations: 267 kB / 0.5767 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.3233, allocations: 0.5597 MB / 0.5772 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.3252, allocations: 1.518 MB / 0.5787 GB, free: 2.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3252, allocations: 4 kB / 0.5787 GB, free: 2.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3252, allocations: 0 / 0.5787 GB, free: 2.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.3252, allocations: 0 / 0.5787 GB, free: 2.555 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004445/0.3297, allocations: 1.612 MB / 0.5803 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3297, allocations: 8.031 kB / 0.5803 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.743e-05/0.3298, allocations: 37.8 kB / 0.5803 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002509/0.33, allocations: 192 kB / 0.5805 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008093/0.3381, allocations: 1.128 MB / 0.5816 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.3393, allocations: 492.3 kB / 0.5821 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.3394, allocations: 90.77 kB / 0.5822 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.3396, allocations: 116.4 kB / 0.5823 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.3422, allocations: 1.379 MB / 0.5836 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.3423, allocations: 11.95 kB / 0.5837 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.3424, allocations: 48 kB / 0.5837 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.3424, allocations: 28 kB / 0.5837 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.3454, allocations: 1.44 MB / 0.5851 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007284/0.3527, allocations: 4.124 MB / 0.5892 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.3558, allocations: 1.09 MB / 0.5902 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009674/0.3568, allocations: 403.5 kB / 0.5906 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.3569, allocations: 47.95 kB / 0.5907 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.3569, allocations: 47.44 kB / 0.5907 GB, free: 5.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.066e-06/0.3569, allocations: 0 / 0.5907 GB, free: 5.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.01354/0.3705, allocations: 4.279 MB / 0.5949 GB, free: 1.625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.3706, allocations: 251.2 kB / 0.5951 GB, free: 1.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.3714, allocations: 0.5644 MB / 0.5957 GB, free: 0.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-05/0.3715, allocations: 45.7 kB / 0.5957 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.3718, allocations: 472.6 kB / 0.5962 GB, free: 236 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.3722, allocations: 420.4 kB / 0.5966 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.3727, allocations: 242.8 kB / 0.5968 GB, free: 15.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3729, allocations: 394.7 kB / 0.5972 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.3747, allocations: 0.5998 MB / 0.5978 GB, free: 14.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.3768, allocations: 0.9145 MB / 0.5987 GB, free: 13.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/0.3806, allocations: 1.538 MB / 0.6002 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3806, allocations: 0 / 0.6002 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004753/0.3854, allocations: 1.763 MB / 0.6019 GB, free: 10.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3854, allocations: 8 kB / 0.6019 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3854, allocations: 11.94 kB / 0.6019 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.3857, allocations: 78.36 kB / 0.602 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.3876, allocations: 423.4 kB / 0.6024 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.3877, allocations: 23.92 kB / 0.6024 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.389, allocations: 131.9 kB / 0.6025 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3891, allocations: 67.95 kB / 0.6026 GB, free: 9.371 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (160): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004845/0.3896, allocations: 277.3 kB / 0.6029 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.3899, allocations: 83.48 kB / 0.6029 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.3944, allocations: 1.617 MB / 0.6045 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.3945, allocations: 16 kB / 0.6045 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3945, allocations: 3.938 kB / 0.6045 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3945, allocations: 7.984 kB / 0.6045 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006724/0.4012, allocations: 3.133 MB / 0.6076 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.4012, allocations: 4 kB / 0.6076 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.403, allocations: 355.5 kB / 0.6079 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.4032, allocations: 61.55 kB / 0.608 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.4033, allocations: 39.97 kB / 0.608 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.4033, allocations: 8 kB / 0.608 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4033, allocations: 0 / 0.608 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006365/0.4096, allocations: 2.714 MB / 0.6107 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.4098, allocations: 83.5 kB / 0.6108 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.41, allocations: 24 kB / 0.6108 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.4113, allocations: 131.8 kB / 0.6109 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.4115, allocations: 115.6 kB / 0.611 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/0.4116, allocations: 43.97 kB / 0.6111 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005251/0.4122, allocations: 398.8 kB / 0.6115 GB, free: 184 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4122, allocations: 0 / 0.6115 GB, free: 184 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001238/0.4134, allocations: 284 kB / 0.6117 GB, free: 15.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.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 (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006871/0.4203, allocations: 3.315 MB / 0.615 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004383/0.4246, allocations: 1.454 MB / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.4246, allocations: 0 / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.4268, allocations: 0.7331 MB / 0.6171 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4279, allocations: 110.3 kB / 0.6172 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.4467, allocations: 9.77 MB / 0.6268 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.4474, allocations: 1.014 MB / 0.6277 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007277/0.4481, allocations: 183.2 kB / 0.6279 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/0.4488, allocations: 439.2 kB / 0.6283 GB, free: 14.42 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4488, allocations: 0 / 0.6283 GB, free: 14.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05417/0.5029, allocations: 22.23 MB / 0.65 GB, free: 8.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/18.21, allocations: 7.938 kB / 0.65 GB, free: 8.336 MB / 494.1 MB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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: 21.578467153012753]