Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 105.3 kB / 17.15 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 198 kB / 18.07 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 48.39 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08971, allocations: 46.63 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005537/0.0953, allocations: 5.148 MB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009137/0.1045, allocations: 8.819 MB / 340.7 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007166/0.1052, allocations: 19.88 kB / 340.7 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1064, allocations: 338.1 kB / 341 MB, free: 6.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.1087, allocations: 0.6793 MB / 341.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1103, allocations: 466 kB / 342.2 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.1125, allocations: 1.607 MB / 343.8 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1128, allocations: 155.6 kB / 343.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1131, allocations: 270.5 kB / 344.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1134, allocations: 302.1 kB / 344.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.1135, allocations: 20 kB / 344.5 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.1147, allocations: 0.5581 MB / 345 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.1148, allocations: 91.33 kB / 345.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.1151, allocations: 393.5 kB / 345.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1163, allocations: 1.172 MB / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1163, allocations: 0 / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1163, allocations: 0 / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1163, allocations: 0 / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00165/0.118, allocations: 1.279 MB / 348 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.118, allocations: 11.97 kB / 348 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.668e-05/0.1181, allocations: 66.67 kB / 348.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1182, allocations: 111.6 kB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1193, allocations: 0.8552 MB / 349 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1193, allocations: 16.56 kB / 349 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.1194, allocations: 24 kB / 349.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.1198, allocations: 311.6 kB / 349.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1199, allocations: 4 kB / 349.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1199, allocations: 8 kB / 349.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1199, allocations: 11.98 kB / 349.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.1203, allocations: 234.2 kB / 349.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.122, allocations: 1.186 MB / 350.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1223, allocations: 194.7 kB / 351 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1226, allocations: 229.2 kB / 351.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007911/0.1305, allocations: 8.569 MB / 359.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1306, allocations: 30.56 kB / 359.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.1306, allocations: 4 kB / 359.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001561/0.1322, allocations: 0.6543 MB / 360.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1323, allocations: 89.05 kB / 360.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/0.1331, allocations: 0.7987 MB / 361.4 MB, free: 368 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1332, allocations: 25.7 kB / 361.4 MB, free: 336 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.1335, allocations: 448.6 kB / 361.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.1336, allocations: 74.86 kB / 361.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.1337, allocations: 57.92 kB / 361.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1338, allocations: 317.9 kB / 362.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1339, allocations: 64.2 kB / 362.3 MB, free: 15.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1341, allocations: 146.4 kB / 362.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.1344, allocations: 225.1 kB / 362.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1344, allocations: 4 kB / 362.7 MB, free: 14.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005605/0.135, allocations: 416.7 kB / 363.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.135, allocations: 4 kB / 363.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.1351, allocations: 16 kB / 363.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.1354, allocations: 144.3 kB / 363.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1356, allocations: 31.92 kB / 363.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005832/0.1362, allocations: 0.7045 MB / 364 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.1364, allocations: 31.78 kB / 364 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1364, allocations: 16 kB / 364 MB, free: 13.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.1367, allocations: 201.7 kB / 364.2 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1368, allocations: 110.7 kB / 364.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/0.1376, allocations: 399.3 kB / 364.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1376, allocations: 4 kB / 364.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1376, allocations: 0 / 364.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1376, allocations: 3.938 kB / 364.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.1381, allocations: 0.5073 MB / 365.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.1382, allocations: 15.94 kB / 365.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1383, allocations: 15.98 kB / 365.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.1385, allocations: 136.8 kB / 365.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1386, allocations: 16 kB / 365.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/0.1391, allocations: 0.705 MB / 366.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1391, allocations: 3.984 kB / 366.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.1396, allocations: 447.8 kB / 366.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.1398, allocations: 179.8 kB / 366.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.1399, allocations: 8 kB / 366.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1401, allocations: 0 / 366.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.1402, allocations: 19.98 kB / 366.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1402, allocations: 19.98 kB / 366.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005627/0.1408, allocations: 0.5383 MB / 367.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1408, allocations: 0 / 367.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.1413, allocations: 195.8 kB / 367.5 MB, free: 9.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.1425, allocations: 1.173 MB / 368.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005155/0.143, allocations: 283.5 kB / 369 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.143, allocations: 0 / 369 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1433, allocations: 175.8 kB / 369.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.1438, allocations: 136.2 kB / 369.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/0.1516, allocations: 5.859 MB / 375.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1521, allocations: 0.9411 MB / 376.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003515/0.1524, allocations: 106.7 kB / 376.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.1527, allocations: 311.3 kB / 376.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1527, allocations: 0 / 376.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.875/2.028, allocations: 17.58 MB / 394.1 MB, free: 48.14 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/2.028, allocations: 233.6 kB / 394.3 MB, free: 47.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/4.32, allocations: 3.938 kB / 394.3 MB, free: 47.88 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches